Collision not working?!


  • *
  • Posts: 103
Ok so I have a really simple endless/randomly generated game in which you (the player/actor) stays in place and floor is generated of screen and moves towards the player. The player is constantly in running animation as to simulate he is moving forward. But I have one issue

The game requires the player to rotate the actor by pressing left or right key. The issue is when I rotate it just rotates and seems to forget about the collision. At genuinely goes through the floor and just spins in the assigned direction at the assigned speed.

I used the on key press > set rotation speed to x

(Substituting x for a value of either 35 or -35)

It just doesnt seemt o be working, how would you achieve this?

(For more info on the game, imaging you are riding a unicycle while floor is coming towards you)