Question by
toishaanpatel · Mar 05, 2020 at 10:00 AM ·
rotationcollisionrotate objectnormals
Rotate player based on collision normal,Rotate player 180 degrees depending on collision normal
I want my player to turn around 180 degrees on the y axis, away from the wall that the player collided with. I am implementing a wall jump mechanic, and when the player bounces off of a vertical wall, he should face the opposite direction. Help Please!,I am implementing a wall jump for my character, and when the player bounces off of a vertical wall, I want him to turn around, as if he just pushed off of the wall. i.e if I wall jump off of a wall on player's right, I want the player to turn around away from that wall 180 degrees on y axis.
Comment