class

CP::Constraint::GearJoint

Inherits CP::Constraint / Reference / Object

Keeps the angular velocity ratio of a pair of bodies constant.

Constructors

new(a : Body, b : Body, phase : Number, ratio : Number)
Source

Instance methods

phase

The phase offset of the gears.

Source
phase=(phase : Number)
Source
ratio

The angular distance of each ratchet.

Source
ratio=(ratio : Number)
Source