Hi,
Just wondering if someone could point me in the right direction for implementing screen wrapping for a character in Corona. I could do this immediately, if I was controlling my own character movement, but since I am using the physics systems - I am sure I have to approach this properly.
I am currently using body:applyLinearImpulse for the vertical movement (i.e. one “pull” and it applies the impulse in the Y direction).
And I am also using body:applyForce to provide movement in the horizontal (x) plane - via the accelerometer. Everything works perfectly, but I now I need to implement screen wrapping.
I learnt last time that messing with physics while it’s in certain states is a no-no. Any ideas?
Cheers! [import]uid: 41286 topic_id: 17496 reply_id: 317496[/import]