Unity, changing gravity game & stopping character when he hit a wall.
- by Sylario
i am currently working on a 2d puzzle game in the unity engine. One of the aspect of this game is the possibility to rotate the level of 90°. It also rotate the gravity.
The main character is not directly controlled by the player, but instead fall when the level is rotated.
When the main character hit a wall, he should stop to move. If i do not…