IN THIS ARTICLE
PhysX Ragdoll Component
You can use the PhysX Ragdoll component to create a physical representation of a character in the animation system and to simulate certain behaviors, such as hit reactions and character death. The physical representation consists of a hierarchy of rigid bodies with simple shapes that are connected by joints. You can adjust the ragdoll settings as needed for physical plausibility and performance.
The PhysX Ragdoll component requires the PhysX gem.
For more information about the PhysX system, see Simulating physics behavior with the PhysX system .
You use the PhysX system and the Animation Editor to create a ragdoll.
To use the PhysX Ragdoll component
In O3DE Editor, add the PhysX Ragdoll component to an entity that represents a character. For more information, see Adding Components to an Entity .
Choose Tools, Animation Editor.
Use the Animation Editor to create and control the physical representation of the ragdoll. For more information, see Creating and Simulating a PhysX Ragdoll .
|Position Iteration Count||Specifies the number of iterations to use for joint stability and accuracy. A higher iteration count produces more realistic behavior but decreases performance. A lower iteration count may result in unrealistic behavior, such as joints separating and parts of the ragdoll intersecting with the terrain. Default: |
|Velocity Iteration Count||Specifies the number of iterations to use for resolving collisions, such as restitution (bounciness) and rigid body intersection. A higher iteration count resolves collisions based on the material settings but decreases performance. Use a lower iteration count to reduce the restitution for your ragdoll. Default: |
|Enable Joint Projection||If set, joint projection preserves joint constraints in demanding situations, such as parts of the ragdoll moving energetically. This setting may improve physical plausibility. Enabled by default.|
|Joint Projection Linear Tolerance||The maximum linear deviation that the PhysX system allows in each joint. Values less than |
|Joint Projection Angular Tolerance||Maximum angular deviation that the PhysX system allows in each joint. Values less than |