2D Character&Camera Help

Does anyone know how to make the player’s character rotate like this on a 2d game?


All I know is how to make it instantly rotate instead of smoothly like on the video above

I’m not sure if this is what you want but you could tween the CFrame of the HumanoidRootPart when turning.

That would also change the position though

You can tween the cframe of the humanoid root part to a cframe with the same position component multiplied by a cframe.Angles component. The character will stay in the same position but will rotate.

But what if the player continues moving? Won’t that stop the tween?

You could use a renderStepped function that changes the player’s rotation every frame by a small amount, depending on how long you want it to take. The rotation is tweened seperate from the player position, and the player’s cframe is set at the end to its position multiplied by a cframe.angles containing the tweened rotation.
Since the position is taken every frame, this should allow the player to move whilst rotating.

Is there any other way to do this that is simpler?

You could attach an alignOrientation to the player’s humanoid root part attachment, and then have the alignOrientation move from one direction to the other instantly. If you tweak the max force and responsiveness to be lower, you can have the player smoothly rotate from facing one direction to the other.