How do I get my part to face camera direction?

Currently making FPS arms and cant seem to get the arms to right position. I first tried CFrame and it was a success but it was bland since the arms had no movement. Then I came to the conclusion to use a BodyPosition. So I set the BodyPosition.Position = to the camera position but now the arms dont turn with the camera. They stay the same way. Please help.

Code:

game:GetService("RunService").RenderStepped:Connect(function()
	arms.Body.BodyPosition.Position = game.Workspace.CurrentCamera.CFrame.Position
end)
2 Likes

Try setting the lookvector of the camera like this;

arms.Body.BodyPosition.MaxForce = Vector3.new(1,1,1) * math.huge
arms.Body.BodyPosition.P = 10000
arms.Body.BodyPosition.D = 10
game:GetService("RunService").RenderStepped:Connect(function()
arms.Body.BodyPosition.Position = game.Workspace.CurrentCamera.CFrame.LookVector

– Just mess around with the the P(ower) and the D(ampening) the body position

This isn’t working the arms just go flying

Try using body gyro since it is meant for rotation.

You can do this

while wait() do
    Instance.CFrame = CFrame.lookAt(Instance.Position,game.Workspace.CurrentCamera.CFrame)
end

Im not using CFrame, I need position