CollisionJoint record
public sealed record CollisionJoint A joint between two parts of a jointed collision, as a Source .phy’s ragdollconstraint gives one. It keeps the two together at its pivot and lets the child turn against the parent about the joint’s X, Y and Z axes, each within its own limit. A ragdoll’s joints become JointSpecs with these limits and friction, and the parts they join don’t collide with each other.
var elbow = new CollisionJoint(1, 2)
{
Position = new Vector3(0.3f, 1.4f, 0),
Limits = [new JointLimit(0, 0), new JointLimit(0, 0), new JointLimit(-2.4, 0)]
};
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1