CP::Constraint::RatchetJoint
Inherits CP::Constraint / Reference / Object
Works like a socket wrench.
Constructors
new(a : Body, b : Body, phase : Number, ratchet : Number)
ratchet is the distance between "clicks", phase is the initial offset to use when deciding where the ratchet angles are.
Instance methods
angle=(angle : Number)
Sourcephase=(phase : Number)
Sourceratchet=(ratchet : Number)
Source