Closed chrisid closed 8 years ago
Sounds like you hit an invisible object? Maybe you can debug using the beginContact event?
Haven't tested your code snippet yet but I'm pretty sure the body should continue beyond 50..
@chrisid Here's a JSFiddle running your code, with slight modification. The body does not stop at 50.
@chrisid did you get this problem resolved?
Probably not an engine issue, but as I am moving from Box2D to this, can't realise what's wrong.
There's a keyboard press event that sets: body.velocity[0] = 20;
when the body.position[0] reaches 50:
any thoughts?
this is my base setup: