Click or drag to resize
RagdollPart Properties

The RagdollPart type exposes the following members.

Properties
  NameDescription
Public propertyAreAngularLimitsCached
Gets a value indicating whether angular limits have been cached on this instance.
Public propertyBlendTime
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.
(Inherited from PhysicalBody.)
Public propertyCenter
Gets or sets the center of the Collider in this object's space.
(Inherited from FlexibleCollider.)
Public propertyCenterOfMass

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 .

(Inherited from PhysicalBody.)
Public propertyChildCentroid
Gets the average position of all child bodies in this body's space.
(Inherited from PhysicalBody.)
Public propertyCollider
Gets the collider.
(Inherited from FlexibleCollider.)
Public propertyCorrespondingObject

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.

(Inherited from FlexibleCollider.)
Public propertyHasJointBroken
Gets a value indicating whether Joint has broken.
Public propertyIsCenterOfMassExplicit

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.

(Inherited from PhysicalBody.)
Public propertyIsRecoveringFromImpact
Gets a value indicating whether this instance is recovering from an environmental impact or an impulse manually applied via TryAddImpactAtPoint(Vector3, Vector3).
Public propertyStatic memberIsSilent
Gets or sets a value indicating whether instances of this class should emit debug messages. This value should only be set to when performing automated tests.
Public propertyJoint
Gets or sets the ConfigurableJoint on this object.
Public propertyLocalRotation
Gets or sets the Collider's local rotation in this object's space.
(Inherited from FlexibleCollider.)
Public propertyMaxStrength
Gets or sets the max strength of this part.
Public propertyOnCollisionEnterEvent
Gets the on collision enter event.
(Inherited from FlexibleCollider.)
Public propertyOnCollisionExitEvent
Gets the on collision exit event.
(Inherited from FlexibleCollider.)
Public propertyOnCollisionStayEvent
Gets the on collision stay event.
(Inherited from FlexibleCollider.)
Public propertyParentBody
Gets or sets the PhysicalBody to which Joint is attached.
Public propertyPinningStrength
Gets the pinning strength given the current Strength value.
Public propertyPrimaryJointAxisSymmetryMode
Gets or sets the symmetry mode for the primary axis on Joint.
Public propertyReciprocalBlendTime
Gets the reciprocal of BlendTime.
(Inherited from PhysicalBody.)
Public propertyRigidbody
Gets the Rigidbody on this object.
(Inherited from PhysicalBody.)
Public propertyRunTimeSync
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.)
Public propertySecondaryJointAxisSymmetryMode
Gets or sets the symmetry mode for the secondary axis on Joint.
Public propertyShape
Gets or sets the shape of the Collider.
(Inherited from FlexibleCollider.)
Public propertySize
Gets or sets the size of the Collider.
(Inherited from FlexibleCollider.)
Public propertyStrength
Gets the current strength of the Joint on this part.
Public propertySymmetryMapper

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.

(Inherited from FlexibleCollider.)
Public propertyTransform
Gets this object's Transform.
(Inherited from FlexibleCollider.)
Top
See Also