Property | Type | Description | |
---|---|---|---|
disableOtherConstraints | bool | ||
disableUpdateBones | bool | ||
flipYInitially | bool | ||
gravityScale | float | ||
rootMass | float | ||
spawnKinematic | bool |
Method | Description | |
---|---|---|
Apply ( ) : void |
Instantiates the ragdoll simulation and applies its transforms to the skeleton.
|
|
GetRigidbody ( string boneName ) : |
||
Remove ( ) : void |
Removes the ragdoll instance and effect from the animated skeleton.
|
|
SetSkeletonPosition ( |
Set the transform world position while preserving the ragdoll parts world position.
|
|
SmoothMix ( float target, float duration ) : |
Transitions the mix value from the current value to a target value.
|
Method | Description | |
---|---|---|
AttachBoundingBoxRagdollColliders ( Bone b, |
||
FlipScale ( bool flipX, bool flipY ) : |
||
GetPropagatedRotation ( Bone b ) : float | ||
OnDrawGizmosSelected ( ) : void | ||
RecursivelyCreateBoneProxies ( Bone b ) : void |
Generates the ragdoll simulation's Transform and joint setup.
|
|
SmoothMixCoroutine ( float target, float duration ) : IEnumerator | ||
Start ( ) : IEnumerator | ||
UpdateSpineSkeleton ( ISkeletonAnimation animatedSkeleton ) : void |
Performed every skeleton animation update to translate Unity Transforms positions into Spine bone transforms.
|
public GetRigidbody ( string boneName ) : |
||
boneName | string | |
return |
public SetSkeletonPosition ( |
||
worldPosition | ||
return | void |
public SmoothMix ( float target, float duration ) : |
||
target | float | |
duration | float | |
return |