Hello, I have been trying to make the player's ControlModule:GetMoveVector() relative to the camera for a flying camera drone. I have been googling this and going through countless results for a few hours now and still have had no luck, any time I have gotten movement from the drone it has been on a flat plain like normal but the speed it moved depended on where I was looking. I am trying to make it so that when I hold w/joystick forwards the drone will move towards my camera, and the others would also be relative like that. ANY help is appreciated. My code atm:
repeat
local CamVector = Camera.CFrame.LookVector
local MoveVector = require(Plr:WaitForChild("PlayerScripts").PlayerModule:WaitForChild("ControlModule")):GetMoveVector()
local ModifiedVector = (MoveVector*CamVector)*Speed
print(ModifiedVector)
CurrentKino.PrimaryPart.BodyVelocity.Velocity = ModifiedVector
wait()
until CurrentKino == nil
