Finished documentation on sprite physics and joints Fixed some bugs in sprite physics Added safety checks for joint types Added code to free up joints when a canvas is destroyed
13 lines
291 B
Plaintext
13 lines
291 B
Plaintext
#title getJointMotorTorque [RCBasic Doc]
|
|
#header function getJointMotorTorque( joint_id, inv_dt)
|
|
|
|
Returns the current motor torque given the inverse time step. Unit is N*m.
|
|
|
|
Used with
|
|
#list ul
|
|
#li Revolute Joint
|
|
#li Wheel Joint
|
|
#/list
|
|
|
|
#ref GetJointMaxMotorTorque SetJointMaxMotorTorque
|