CollisionBody record
public sealed record CollisionBody One part of a jointed collision, such as a ragdoll’s forearm: which colliders it owns, where it sits in the model’s bind pose, and how it moves. Source’s .phy gives one for each solid of a model with more than one, named after the solid’s bone.
When a body dies into a ragdoll, the host makes one dynamic physics body of each part with convex colliders, places it on its bone of the dying pose by Name, or at its bind pose when there’s no pose or it has no such bone, and joins the parts by the collision’s Joints. A part with no convex collider is left out.
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1