I need help with making some code for a snake like movement with a rope or pivot joint. The anchor point isn’t really working for me. So what I need to do is spawn a body part of the snake and attach it to the snake using a joint. Any help? Thanks
Hi @gamelibrary,
Have you looked at the “Chains” sample app in the local Corona application folder?
CoronaSDK > SampleCode > Physics > Chains
This shows how you can use joints to attach multiple segments (in this case chains) but it should work fine for a snake too.
Take care,
Brent Sorrentino
Hi @gamelibrary,
Have you looked at the “Chains” sample app in the local Corona application folder?
CoronaSDK > SampleCode > Physics > Chains
This shows how you can use joints to attach multiple segments (in this case chains) but it should work fine for a snake too.
Take care,
Brent Sorrentino