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
305 B
Plaintext
7 lines
305 B
Plaintext
#title setJointOrigin [RCBasic Doc]
|
|
#header sub setJointOrigin( joint_id, x, y)
|
|
|
|
Shift the world origin. This is particularly useful in large simulations where objects might move far from the initial origin, potentially causing precision issues in floating-point calculations.
|
|
|
|
Used with Pulley Joint
|