Search the Community
Showing results for tags 'accelerate'.
Hi all, Trying to make a P2 body accelerate (as opposed to using moveLeft) but am having a tough time, tried to use applyForce like this: basket.body.data.applyForce([100,100], basket.x, basket.y);As well as this.. basket.body.data.applyForce([100,100], [basket.x, basket.y]);with no results. Anyone know what I'm doing wrong? I have tried changing the 100 to a number much larger as well as change gravityScale back to 1 (it is currently at 0). Thanks - Nick