I’ve got a simple little proof-of-concept where there’s an image that starts in the middle of the screen, and I set it moving in a given direction. I can make it go up, down, and right, but I cannot get it to start moving to the left. If it moves to the right and bounces off of the wall, it heads back to the left, so I know it can work, but I cannot figure out what the problem is!
I’ve tried setLinearVelocity and applyLinearImpulse, and the results are the same - no initial movement to the left.
There’s no gravity in the scene, either.
newInstance:setLinearVelocity( 0, -128) -- moves up newInstance:setLinearVelocity( 0, 128) -- moves down newInstance:setLinearVelocity( 128, -128) -- moves diagonally up and right newInstance:setLinearVelocity( 128, 128) -- moves diagonally down and right newInstance:setLinearVelocity( 128, 0) -- moves right newInstance:setLinearVelocity(-128, 0) -- WON'T MOVE LEFT!!!!
Help! and Thanks!