Files
RCBASIC4/doc/files/setjointorigin.txt
n00b 2a580f9686 Finished documentation
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
2024-10-28 22:22:33 -04:00

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