Hello, I’m trying to move a part to be in the direction the player’s camera is facing. I want it to always be in the front direction of the camera but slightly offsetted. Here are some images that show how the part is put in front of the camera but slightly offsetted to be in front of it:
As you can see from the image, the part is always properly placed in the front of the part. How would I achieve an affect like this?
To get you started I’ve already defined some things:
local partToMove = part:Clone()
local player = game.Players.LocalPlayer
local Cam = workspace.CurrentCamera
partToMove.Parent = workspace
-- Insert script here to pivot the part in front of cam.
- Note: The player’s camera will be locked during the phase so we dont have to worry about the part following the camera