![]() | RagdollPart Methods |
The RagdollPart type exposes the following members.
Name | Description | |
---|---|---|
![]() | Awake |
Store Joint's bindpose and frame.
|
![]() | 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.
(Inherited from PhysicalBody.) |
![]() | CacheCurrentAngularLimits |
Caches the current angular limits. The cached value will be used as the extent of the angular limits when
they are blended in and out. This method is automatically called when this instance is deserialized.
|
![]() | CacheImpactTransmissionPercentages |
Caches the impact transmission percentages in the hierarchy. You should only need to call this method
manually if you change the topology of a ragdoll hierarchy by e.g., changing
ParentBody or if parts can translate far away from one another.
|
![]() | FixedUpdate |
Recovery from impact strength reduction as needed.
|
![]() | GetAngularDampingProfile |
Gets the profile of damping the Joint should use at different normalized strength
values when achieving its target angular position on all axes, if applicable.
|
![]() | GetAngularPositionForceProfile |
Gets the profile of force the Joint should use at different normalized strength
values when achieving its target angular position on all axes, if applicable.
|
![]() | GetAngularVelocityForceProfile |
Gets the profile of force the Joint should use at different normalized strength
values when achieving its target angular velocity on all axes, if applicable.
|
![]() | GetChildParts |
Gets the child parts. These parts will include only RagdollPart objects registered
with CacheChild(RagdollPart) and whose
ParentBody is this PhysicalBody.
(Inherited from PhysicalBody.) |
![]() | GetImpactLayerStrengths |
Gets the environment layers that will cause strength reduction upon impact, as well as the factor by which
collision impulses will be multiplied when calculating strength reduction.
|
![]() | GetImpactRecoverySpeedProfile |
Gets the impact recovery speed profile.
|
![]() | GetImpactStrengthReductionProfile |
Gets the impact strength reduction profile.
|
![]() | GetImpactTransmissionProfile |
Gets the impact transmission profile.
|
![]() | GetLinearDampingProfile |
Gets the profile of damping the Joint should use at different normalized strength
values when achieving its target linear position on all axes, if applicable.
|
![]() | GetLinearPositionForceProfile |
Gets the profile of force the Joint should use at different normalized strength
values when achieving its target linear position on all axes, if applicable.
|
![]() | GetLinearVelocityForceProfile |
Gets the profile of force the Joint should use at different normalized strength
values when achieving its target linear velocity on all axes, if applicable.
|
![]() | 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.
(Inherited from PhysicalBody.) |
![]() | GetPinningForceProfile |
Gets the profile of the ratio of pinning-force-to-joint-angular-limits to apply at different normalized
strength values to try to maintain target position.
|
![]() | OnCollisionEnter |
Raises the collision enter event.
(Overrides FlexibleColliderOnCollisionEnter(Collision).) |
![]() | OnCollisionExit |
Raises the collision exit event.
(Inherited from FlexibleCollider.) |
![]() | OnCollisionStay |
Raises the collision stay event.
(Overrides FlexibleColliderOnCollisionStay(Collision).) |
![]() | OnDisable |
Raises the disable event.
(Inherited from PhysicalBody.) |
![]() | OnEnable |
Raises the enable event.
(Overrides PhysicalBodyOnEnable.) |
![]() | OnJointBreak |
Set the HasJointBroken flag.
|
![]() | 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 PhysicalBodyOnSynchronizeSymmetricalProperties.) |
![]() | RecoverFromImpactImmediately |
Immediately resets the impact recovery timer.
|
![]() | ReduceStrength |
Tries to reduce the strength of this part using the specified impulse.
|
![]() | Reset |
Reset this instance.
|
![]() | ResetBindpose |
Resets Joint's bindpose in the current configuration.
|
![]() | SetAngularDampingProfile |
Sets the profile of damping the Joint should use at different normalized strength
values when achieving its target angular position on all axes, if applicable.
|
![]() | SetAngularPositionForceProfile |
Sets the profile of force the Joint should use at different normalized strength
values when achieving its target angular position on all axes, if applicable.
|
![]() | SetAngularVelocityForceProfile |
Sets the profile of force the Joint should use at different normalized strength
values when achieving its target angular velocity on all axes, if applicable.
|
![]() | SetImpactLayerStrengths |
Sets the environment layers that will cause strength reduction upon impact, as well as the factor by which
collision impulses will be multiplied when calculating strength reduction.
|
![]() | SetImpactRecoverySpeedProfile |
Sets the impact recovery speed profile.
|
![]() | SetImpactStrengthReductionProfile |
Sets the impact strength reduction profile.
|
![]() | SetImpactTransmissionProfile |
Sets the impact transmission profile.
|
![]() | SetJointTargetRotation |
Sets the ConfigurableJoint.targetRotation property by transforming the supplied
local rotation.
|
![]() | SetLinearDampingProfile |
Sets the profile of damping the Joint should use at different normalized strength
values when achieving its target linear position on all axes, if applicable.
|
![]() | SetLinearPositionForceProfile |
Sets the profile of force the Joint should use at different normalized strength
values when achieving its target linear position on all axes, if applicable.
|
![]() | SetLinearVelocityForceProfile |
Sets the profile of force the Joint should use at different normalized strength
values when achieving its target linear velocity on all axes, if applicable.
|
![]() | SetPinningForceProfile |
Sets the profile of the ratio of pinning-force-to-joint-angular-limits to apply at different normalized
strength values to try to maintain target position.
|
![]() | SetStrength |
Sets the strength of this part.
|
![]() | Start |
Cache the angular limits on Joint.
(Overrides PhysicalBodyStart.) |
![]() | TryAddImpactAtPoint |
Tries to add an impact at the specified point that will cause this part and neighboring ones to reduce their
strength.
|
![]() | TryImpactCollision |
Tries to reduce the strength of this part and neighboring ones using the specified collision data.
|
![]() | 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.) |