Sharp turns and 180 character rotation

Hi,

Does anyone know how I can do sharp or 180 turns like in Super Mario 64? In that game, when you tap the opposite direction of the movement he slides slightly as he adjusts to the new direction. Is this possible?

Also, is it possible to have the character turn to the direction tapped on the gamepad in respect to the camera? Like, if I tap “up” then he rotates towards camera’s “front”.

Thank you for your help!

Is this a meta question or did you try something out?

Regarding the first, I tried adding counter-acceleration but my acceleration ended up being nullfied somewhere, I’m not sure what is going on, theoretically the velocity towards the initial direction should drop significantly and then invert into the new direction, right?
I also tried simply adding strong rotation rates to see if the effect would work but obviously all he does is rotate fast and move towards that direction. That was a long shot.
I ran out of ideas here.

As for the character directly turning towards a direction, the logic should be simple but I think I’m failing at understanding how to get the yaw on the gamepad (or fake yaw on the keyboard), throw the axis values.

Hey, have you had any success in your attempt? I am trying to do the same but I am failing and the tutorials online does not provide enough information…