Skip to main content

SAMeshColliderCommon.SplitProperty

A class in Root.Township, the global namespace.

How the SA mesh collider builder (a third-party editor tool) splits a mesh into separate pieces before making a collider for each.

Constructors​

MemberWhat it is
SplitProperty()Creates a SAMeshColliderCommon.SplitProperty with default values.

Fields​

MemberWhat it is
bool splitMaterialEnabledSplits the mesh by material. Default true.
float splitPolygonNormalAngleAngle in degrees (default 45) between face normals above which faces go into separate pieces, when splitPolygonNormalEnabled is on.
bool splitPolygonNormalEnabledSplits the mesh where face normals differ by more than splitPolygonNormalAngle. Off by default.
bool splitPrimitiveEnabledSplits the mesh into its separate connected parts. Default true.

Methods​

MemberWhat it is
SAMeshColliderCommon.SplitProperty ShallowCopy()Returns a member-by-member copy of these settings.

Used in​

Members of other types that take, return or hold a SplitProperty: