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

JointChanges

What setJoint changes: a hinge’s or a slider’s motor and limits, a spring’s and a rope’s lengths, and what breaks it.

Property Type Description
breakForce? number | null Null never breaks on force.
breakTorque? number | null -
collideConnected? boolean -
damping? number -
length? number -
limits? JointLimits | null -
motor? JointMotor | null -
restLength? number -
stiffness? number -