Could I make a model face a certain direction with :MoveTo()? Like :MoveTo(CFrame.new(Pos,Rotation))?
Or is there another method for model CFraming?
Could I make a model face a certain direction with :MoveTo()? Like :MoveTo(CFrame.new(Pos,Rotation))?
Or is there another method for model CFraming?
You can make a model face a given Vector3 position using code like this:
MyPart.CFrame = CFrame.new(MyPart.Position, Vector3.new(X,Y,Z))
For example, to make a player face a part called "SpawnFocus" you could do this:
player.Character.Torso.CFrame = CFrame.new(player.Character.Torso.Position, workspace.SpawnFocus.Position)
I hope this helps!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Yes, it was what I was asking for. Thank you.