![]() | PhysicalBody Properties |
The PhysicalBody type exposes the following members.
Name | Description | |
---|---|---|
![]() | BlendTime |
Gets or sets the number of seconds this part takes to blend out of non-kinematic motion. This value is just
a convenience for other scripts that might want to use it.
|
![]() | Center |
Gets or sets the center of the Collider in this object's space.
(Inherited from FlexibleCollider.) |
![]() | CenterOfMass | Gets or sets the center of mass on Rigidbody. As with Rigidbody.centerOfMass, setting a value for this property at run-time will set IsCenterOfMassExplicit to . |
![]() | ChildCentroid |
Gets the average position of all child bodies in this body's space.
|
![]() | Collider |
Gets the collider.
(Inherited from FlexibleCollider.) |
![]() | CorrespondingObject | Gets the corresponding FlexibleCollider across a plane of symmetry. It will be the FlexibleCollider component on the CorrespondingTransform of the SymmetryMapper assigned to this instance. |
![]() | IsCenterOfMassExplicit | Gets a value indicating whether this object has already explicitly applied its CenterOfMass property to Rigidbody or should when it is loaded. If it returns , then Unity is assumed to be automatically/continuously calculating Rigidbody.centerOfMass and Rigidbody.inertiaTensor. |
![]() | LocalRotation |
Gets or sets the Collider's local rotation in this object's space.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionEnterEvent |
Gets the on collision enter event.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionExitEvent |
Gets the on collision exit event.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionStayEvent |
Gets the on collision stay event.
(Inherited from FlexibleCollider.) |
![]() | ReciprocalBlendTime |
Gets the reciprocal of BlendTime.
|
![]() | Rigidbody |
Gets the Rigidbody on this object.
|
![]() | RunTimeSync |
Gets or sets a value describing whether or not this FlexibleCollider should
continue to sync with its corresponding part at run-time.
(Inherited from FlexibleCollider.) |
![]() | Shape |
Gets or sets the shape of the Collider.
(Inherited from FlexibleCollider.) |
![]() | Size |
Gets or sets the size of the Collider.
(Inherited from FlexibleCollider.) |
![]() | SymmetryMapper | Gets or sets a SymmetricalTransform component on this GameObject, which allows symmetrical property edits. If it is not and its CorrespondingTransform is assigned and has a FlexibleCollider component of this object's type, then all changes made to properties on this object will be reflected across the plane of symmetry. |
![]() | Transform |
Gets this object's Transform.
(Inherited from FlexibleCollider.) |