Looking for advice but also help with achieving what I’d like to achieve
For one, the light bounces as the player walks which is annoying. Also, I’d like the light to move with the player’s camera in 1st person, so if they look up, the light moves up as well.
Hey, mabye you could still have the flashlight in the players hand but instead, remove the the light from the flashliht and instead have a part relative to where the camera is rotating that will give the illusion that its emitting from the flashlight and will help with the stabilization of the light
Honestly its not as hard as it sounds just place a part say 5 studs in front of the cameras lookvector and then just udpaate the cframe to match the cameras cframe, so itll be 5 studs in front at all times but it will also have the rotation of the camera which will allow you to look up and also see the light
local flashlightPart = Instance.new("Part")
flashlightPart.Parent = WhereYouWantItToBe
flashlightPart.Position = (game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.LookVector * 3.5) + Vector3.new(5,0,0)
-- Run the setting cframe property in a loop for it to constantly be in that position
i hope this helps slightly, that’s the math done for you anyways lol
Actually put it into a localscript that would be in StarterCharacterScripts so itll work if the player dies,
Yes an animation that is less shaky could yield the results your looking for + my suggestion above!
It would in a heartbeat loop (aka technically a while loop), it updates every frame, meaning the part will be at the cameras cframe 5 studs in front every single frame
It’s very easy so that the flashlight doesn’t move so the monkey doesn’t move either if you don’t know how then when it is equipped make an animation that doesn’t move the hand