i fixed it not needed anymore its finished
We have no context to this code, could you send what you’re actually doing for the movement and rotation?
typed it read it now thats all
Try this
local cameraDirection = char.HumanoidRootPart.CFrame:toObjectSpace(workspace.CurrentCamera.CFrame).lookVector -- this will give you the camera direction relative to the player's root part.
something.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, 0, -10) * CFrame.Angles(0, math.rad(-1700), math.rad(-87)) something.BodyVelocity.Velocity = cameraDirection * 100
Sorry, my bad I put workspace.CurrenCamera when I meant to put workspace.CurrenCamera.CFrame. I updated it.