So I have an actor and a wall... When my actor collides with the wall and I let go of the joystick he either sits there and just rotates or is bounce off the screen. How would I fix this? Thanks
How do you make him to just stop if he hits the wall, but still be able to move? I did it to where he collides, his move stops, but then I can't move him with the controls.
Now it works in the case that he does not walk through the wall, but it I let go of the joystick or stop moving, he either shoots across the screen or just rotates in circles(speeds of both of these vary)... How do I make it not do this?
Ive looked at a few examples and they all just have the bounce when colliding on.. I don't know why it isn't working for me.
Comments
when Actor receives event...overlaps or collides with actor...
MH
bounce when colliding or overlap with 'wall'
Now it works in the case that he does not walk through the wall, but it I let go of the joystick or stop moving, he either shoots across the screen or just rotates in circles(speeds of both of these vary)... How do I make it not do this?
Ive looked at a few examples and they all just have the bounce when colliding on.. I don't know why it isn't working for me.