motor = physics.SimpleMotor(a, b, rate)
Parameter |
Type |
Description |
---|---|---|
a |
in physics.Body |
First Body |
b |
in physics.Body |
Second Body |
rate |
in number |
The relative angular velocity |
motor |
out physics.SimpleMotor |
New SimpleMotor |
Keeps the relative angular velocity of a pair of bodies constant. rate is the desired relative angular velocity.
Accessors |
Type |
---|---|
setRate, rate |
number |
Introduced in platform.apiLevel = '2.0'