How do i make player slowly start facing other direction?

Hello everyone! So i have this line

workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position,  Vector3.new(workspace.CurrentCamera.CFrame.Position, workspace.SpawnLocation.CFrame.Position))

Player starting facing the SpawnPoint instantly, but i want to make this effect weaker
Now i will explain what do i mean.
So, i want to make monster who can hyptonize players and make them slowly facing him, and player need to resist. (just keep facing other direction)
Players are playing from first person mode. I want this effect not just make player instantly face monster, i want to make them a little bit turn to him, and they will be a little bit turning to him every time with little duration.
I hope you understood what i want to make and can help! =)

2 Likes
1 Like

Thanks! Where can i change the strength of rotation to target? (on which line)

I tried to change 1 to 0.1 in variable rotationAngleTowardsTarget

Oh, i just needed to make it lower than 1. (i changed to 0.001) thanks a lot!

2 Likes

Another solution is to mess with camera matrix

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.