HingeJointMotor doc

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

HingeJointMotor doc

Post by Psychophanta »

Hi!
Not bug, but just to complete info:

There might be interesting to complete info about HingeJointMotor:
HingeJointMotorTarget(#Joint, Angle, Velocity); Applies an angular speed: 'Angle' degrees per 'Velocity' seconds ('Velocity' parameter is not velocity, but time). NOTE the angular value is referred to the stator (attached to EntityID(0)) respect its rotor (attached to EntityID(1)).

EnableHingeJointAngularMotor(#Joint, Enable, TargetVelocity, MaxMotorImpulse); 'TargetVelocity' is an angular speed, in radian/second (seg^-1), given to the stator (attached to EntityID(0)) respect its rotor (attached to EntityID(1)). 'MaxMotorImpulse' is just a torque value, and it is applied only until the stator reaches the 'TargetVelocity' angular speed respect its rotor.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;