Scripting API
Scripting API
FixedJoint3D
Struct in Abyss.Physics3D, from Abyss.Physics3D.
Two bodies held together as they were as it was made, as if welded: the body this is on — the nearest Rigidbody 3D at or above its entity — and FixedJoint3D.ConnectedBody, or the world where that is none.
public struct FixedJoint3DRemarks
Where the two are held is FixedJoint3D.Anchor on this body, in its entity's own units, and FixedJoint3D.ConnectedAnchor on the other, in that entity's, or in the world's where there is none; with FixedJoint3D.AutoConfigureConnectedAnchor the joint is made with the connected anchor where the anchor is, and says where that was.
It breaks — taken off its entity, and said in Physics3D.JointsBroken — when it holds harder than FixedJoint3D.BreakForce or FixedJoint3D.BreakTorque.
Fields
ConnectedBody
public EntityRef ConnectedBodyThe other body: an entity with a Rigidbody 3D, or under one; none for 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.
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.
