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
7 lines
309 B
Plaintext
7 lines
309 B
Plaintext
#title applySpriteLinearImpulse [RCBasic Doc]
|
||
#header sub applySpriteLinearImpulse( spr_id, iX, iY, pX, pY)
|
||
|
||
Apply an instantaneous linear impulse to a body. This method directly affects the body’s linear motion by changing its velocity based on the impulse applied.
|
||
|
||
#ref ApplySpriteAngularImpulse
|