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

BallAndSocketLimits

A ball-and-socket’s limits, in radians, from its rest pose: a cone its body leans within, and a range it turns within about its axis, as Unity’s CharacterJoint, Godot’s ConeTwistJoint3D and Roblox’s BallSocketConstraint give them. A limit left out leaves that motion free.

Property Type Description
swingRadians? number How far axis may lean from its rest, any way round: the cone’s half-angle, from 0, which allows no lean, to π, which allows any.
twist? JointLimits How far its body may turn about axis, by the right-hand rule, in a range shorter than a full turn. Near a full lean of π the turn has no meaning and the limit lets go.