Skip to main content

SAColliderBuilderCommon.RigidbodyProperty

A class in Root.Township, the global namespace.

Editor tool settings from the SAColliderBuilder package: the Rigidbody to add when building colliders.

Constructors​

MemberWhat it is
RigidbodyProperty()Creates a SAColliderBuilderCommon.RigidbodyProperty with default values.

Fields​

MemberWhat it is
float angularDragAngular drag for the made Rigidbody.
CollisionDetectionMode collisionDetectionModeCollision detection mode for the made Rigidbody.
float dragDrag for the made Rigidbody.
RigidbodyInterpolation interpolationInterpolation for the made Rigidbody.
bool isCreateWhether to add a Rigidbody at all.
bool isKinematicWhether the made Rigidbody is kinematic. True by default.
float massMass for the made Rigidbody.
bool useGravityWhether the made Rigidbody uses gravity.
bool viewAdvancedInspector only: shows the advanced fields.

Methods​

MemberWhat it is
SAColliderBuilderCommon.RigidbodyProperty ShallowCopy()Returns a copy of these settings.

Used in​

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