Scripting API
Scripting API
RagdollJoint3D
Struct in Abyss.Physics3D, from Abyss.Physics3D.
A limb held to what it hangs from, as a shoulder or a knee is: the body this is on and RagdollJoint3D.ConnectedBody, or a point in the world where that is none, held at one point, its RagdollJoint3D.Axis swinging no further from where it was than a cone and twisting about itself within a range.
public struct RagdollJoint3DRemarks
The cone is about RagdollJoint3D.Axis as it was made: the axis swings up to RagdollJoint3D.SwingAngle toward RagdollJoint3D.SwingAxis and away, and up to RagdollJoint3D.SwingAngleAcross square to that, an ellipse between; the limb twists about its axis from RagdollJoint3D.LowerTwist to RagdollJoint3D.UpperTwist, from the twist it was made at. All in degrees.
Anchors and breaking as FixedJoint3D's.
Fields
ConnectedBody
public EntityRef ConnectedBodyThe other body: an entity with a Rigidbody 3D, or under one; none for a point in the world.
EnableCollision
public bool EnableCollisionWhether the two bodies still meet each other.
AutoConfigureConnectedAnchor
public bool AutoConfigureConnectedAnchorWhether the connected anchor is made where the anchor is as the joint is made.
Anchor
public Vector3 AnchorWhere it holds this body, in its entity's own units.
ConnectedAnchor
public Vector3 ConnectedAnchorWhere it holds the other, in its entity's own units, or in the world's where there is none.
Axis
public Vector3 AxisAlong the limb, in its entity's own units: what it twists about, the middle of the cone it swings in.
SwingAxis
public Vector3 SwingAxisAcross the limb, in its entity's own units: the way it swings as far as RagdollJoint3D.SwingAngle.
SwingAngle
public float SwingAngleHow far its axis swings toward RagdollJoint3D.SwingAxis and away, in degrees.
SwingAngleAcross
public float SwingAngleAcrossHow far its axis swings square to RagdollJoint3D.SwingAxis, either way, in degrees.
LowerTwist
public float LowerTwistThe least it twists about its axis, in degrees from the twist it was made at.
UpperTwist
public float UpperTwistThe most it twists about its axis, in degrees from the twist it was made at.
BreakForce
public float BreakForceThe force it breaks at, in newtons; infinity never.
BreakTorque
public float BreakTorqueThe torque it breaks at, in newton meters; infinity never.
