Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

BallAndSocketJointRecord

A ball-and-socket’s record.

  • JointRecordBase
Property Type Description
anchor Vector3 In the body’s axes, before its scale.
body Entity | null -
breakForce number | null -
breakTorque number | null -
collideConnected boolean -
connectedAnchor Vector3 In the other body’s axes, before its scale, or in the world’s.
connectedFrame Quaternion The same axes in the other body’s, at rest: as the bodies stood when it was made, so a hinge’s zero angle is that pose, or turned onto a ball-and-socket’s connectedAxis.
damping number -
frame Quaternion The joint’s axes in the body’s: a hinge turns about its x, a slider moves along it, a ball-and-socket’s cone opens about it.
length number -
limits BallAndSocketLimitsRecord | null -
motor BallAndSocketMotorRecord | null -
restLength number -
stiffness number -
to Entity | null -
type BallAndSocket -