Hello!
I want to make character rotated in direction that Player is moving but when I’m pressing W or S keys, the character rotates in X axis.
Here is video:
Hello!
I want to make character rotated in direction that Player is moving but when I’m pressing W or S keys, the character rotates in X axis.
Here is video:
You should watch GnomeCode’s 2d platformer tutorial!
I don’t want to disable W and S keys.
I want the character to look in the direction the player is going, even after pressing W or S.
Example:
Then probably change things in thePlayerModule
You could probably turn the AutoRotation off on the humanoid and do your own rotation handling. Just listen to the MoveDirection or check the AssemblyLinearVelocity the player is going and decide which direction the player should look.