![]() | PhysicalBody Methods |
The PhysicalBody type exposes the following members.
Name | Description | |
---|---|---|
![]() | CacheChild |
Adds the specified RagdollPart to the list of cached children. It will only be
returned as an actual child if its ParentBody property is this
PhysicalBody.
|
![]() | GetChildParts |
Gets the child parts. These parts will include only RagdollPart objects registered
with CacheChild(RagdollPart) and whose
ParentBody is this PhysicalBody.
|
![]() | GetPhysicalHierarchy |
Gets the physical hierarchy. These parts will include this PhysicalBody as well as
RagdollPart objects registered with
CacheChild(RagdollPart) whose
ParentBody is this PhysicalBody, as well as
their hierarchies.
|
![]() | OnCollisionEnter |
Raises the collision enter event.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionExit |
Raises the collision exit event.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionStay |
Raises the collision stay event.
(Inherited from FlexibleCollider.) |
![]() | OnDisable |
Raises the disable event.
(Overrides FlexibleColliderOnDisable.) |
![]() | OnEnable |
Raises the enable event.
(Overrides FlexibleColliderOnEnable.) |
![]() | OnModifySymmetricalProperty |
Raises the modify symmetrical property event. This method is called when a property is set that needs to be
pushed to the corresponding FlexibleCollider. You can invoke it manually if you
need to push settings that are not managed on this object directly, such as Joint
limits.
(Inherited from FlexibleCollider.) |
![]() | OnSynchronizeSymmetricalProperties |
Raises the synchronize symmetrical properties event.
(Overrides FlexibleColliderOnSynchronizeSymmetricalProperties.) |
![]() | Start |
Apply explicit center of mass if indicated.
(Overrides FlexibleColliderStart.) |
![]() | UseExplicitCenterOfMassWhenLoaded | Makes the Rigidbody.centerOfMass property on Rigidbody use the explicit value serialized in the backing field for CenterOfMass when this objet is first loaded. Neither it nor Rigidbody.inertiaTensor will be automatically/continuously calculated anymore. This method only exists for enabling explicit center of mass before this object is loaded (e.g., in the editor). Setting CenterOfMass at run-time will cause the explicitly specified value to be used whether or not this method has been called. |
Name | Description | |
---|---|---|
![]() | GetPrefabName |
Gets the name of the prefab associated with the supplied instance.
(Defined by ObjectX.) |
![]() | OpenReferencePage |
Opens a reference web page generated for the specified object.
(Defined by ObjectX.) |