Hi. I’m trying to make an NPC look at it’s target with AlignOrientation, and it’s not working. It just faces in one direction
Here are it’s properties.
----------------------------------
AIRoot.AlignOrientation.MaxTorque = Vector3.new(math.huge, 0, math.huge)
----------------------------------
Heres where the NPC is supposed to “update” the orientation.
--------------------------------------------------------------
--Align
AIRoot.AlignOrientation.CFrame = CFrame.new(target.Position, AIRoot.Position)
--------------------------------------------------------------
Any help is appreciated.