CFrame.lookAt not working when using it on a model?

Just as the title says.

local Arrow = game.Workspace.Arrow
local LookingAt = game.Workspace.LookingAt
	
Arrow:PivotTo(CFrame.lookAt(Arrow:GetPivot().Position, LookingAt.Position))

Before running the script:
image

After running the script:
image
If you need any more information then please say so.

Try resetting the pivot of the Arrow, maybe the Arrow’s PivotOffset is rotated.

Nope. It’s all zeros.
image

Well clearly it does not know which way is front, so maybe adjust the y-coordinate rotation of the pivot?

Can you select the model and check if the arrows follow the arrow in the model? (The arrows that are blue, green and red)

It looks like they follow it.
image
Nvm I just realised it.

Clearly it doesn’t. The blue arrow doesn’t go through the point at the very end of the arrow model. Is the arrow in the model a part or multiple parts.

Yeah I also realised it. Thank you for your help!

1 Like

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