Question by
benwarrington97 · Feb 11, 2018 at 05:41 AM ·
movementplayermovement scriptplayer movement
Object rotates when moving sideways
When the Cube (player) is moving forwards it rotates to the left slightly, when turning left, instead of staying neutral. It doesn't rotate when turning to the right side. I want to keep rotation enabled for when it collides with one of the barriers.
Anyone know why?
Video: https://youtu.be/AtpOZZd4ia4 Player Script: https://pastebin.com/qWLnv0Fx
Comment
Your answer
Follow this Question
Related Questions
How to move 3 players at the same time in V form,How to move 3 characters in the same time in V form 0 Answers
Reduce Player Movement in Air 0 Answers
Player only moves when the key is pressed, not when it's held. 0 Answers
Dash Movement Platformer 0 Answers
Moving simultaneously with UP LEFT, W D using GetAxisRaw. Rotating localScale to flip animation 2 Answers