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
5 lines
201 B
Plaintext
5 lines
201 B
Plaintext
#title applySpriteTorque [RCBasic Doc]
|
|
#header sub applySpriteTorque( spr_id, torque)
|
|
|
|
Apply a torque. This affects the angular velocity without affecting the linear velocity of the center of mass.
|