Ciao,
I’m making a scene where the landlord goes to the player, and faces the player. Sadly idk how to make the facing part happen.
I have a script that makes it walk to the player, but idk how to make it face the player.
Any tips?
Thank you all
2 Likes
landlord:PivotTo(CFrame.lookAt(landlord:GetPivot().Position,player.Character:GetPivot().Position))
There, that should work.
1 Like
CFrame.lookAt(landlord:GetPivot().Position,player.Character:GetPivot().Position)
Is the actual code to get the CFrame incase you are confused.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.