You can use RopeJoints in order to achieve this. Either with ropes entirely made in config (data-driven) or assembled in code (procedural), using orxBody_AddJointFromConfig().
If you use the source distribution (by cloning the mercurial repository at https://bitbucket.org/orx/orx), which I recommend, here's a very quick and crude test you can do by opening the file /code/bin/BounceAlt.ini, and adding this to its end:
You should see a small rope made of green balls in the middle of the screen when launching orx after having compiled it (use one of the Embedded[/d] configuration targets).
Comments
You can use RopeJoints in order to achieve this. Either with ropes entirely made in config (data-driven) or assembled in code (procedural), using orxBody_AddJointFromConfig().
If you use the source distribution (by cloning the mercurial repository at https://bitbucket.org/orx/orx), which I recommend, here's a very quick and crude test you can do by opening the file /code/bin/BounceAlt.ini, and adding this to its end:
You should see a small rope made of green balls in the middle of the screen when launching orx after having compiled it (use one of the Embedded[/d] configuration targets).
Let us know if you encounter any issues.
Cheers!
Thank you for your help, iarwain, and thank you for your engine. Very nice.
Don't hesitate if you have any questions!