HingeJointMotor doc

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

Moderator: Documentation Editors

User avatar
Psychophanta
Addict
Addict
Posts: 4975
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
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:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen: