Hi guys, I'm trying to make an arrow which stays in front of the player and rotates to follow a brick.
I have managed to do that, but have a problem.
game.Workspace.ARROW.Position = workspace:FindFirstChild(game.Players.LocalPlayer.Name).Head.Position + Vector3.new(0, 3, -6)
This sets the position and is correct - it stays in front of the player and is fine when the player walks about.
Now, to face the part I do this:
game.Workspace.ARROW.CFrame = CFrame.new(game.Workspace.ARROW.Position, Vector3.new(game.Workspace.Part.Position.X, game.Workspace.ARROW.Position.Y,game.Workspace.Part.Position.Z))
But the problem is, it now doesn't stay in front of the player.
Any ideas how I can keep the arrow in front of the player and rotate on the point, rather than rotating around the player if that makes sense?
Thanks!

1 comment
Thank you very much! It wasn't quite what I was picturing but works fine, thanks!