i want to make my characters body follow the camera i think this is pretty simple heres a video of my problem https://gyazo.com/6491b6361e344ff1dba4102f2c58d914 i just want my character to follow the camera does anyone have any ideas?
1 Like
Is the issue with the program that it’s not moving the character when a spell’s activated? If so, I recommend using a BodyPosition instead of anchoring the player’s character, since that would allow the BodyGyro to work as intended.
1 Like
im currently using flight velocity and not anchoring it would this cause any problems this is r6 btw
local flightBodyVel = Instance.new("BodyVelocity")
flightBodyVel.Name = "FlightBodyVelocity"
flightBodyVel.MaxForce = Vector3.new(1e5,1e5,1e5)
flightBodyVel.P = 0
flightBodyVel.Velocity = Vector3.new()
local Run = game:GetService("RunService")
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HRP = Character:WaitForChild("HumanoidRootPart")
local Camera = workspace.CurrentCamera
local function ManipCamera(Delta)
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame = CFrame.new(HRP.Position) * CFrame.Angles(0, math.rad(HRP.Orientation.Y), 0) * CFrame.new(0, 4, 8)
end
Run.RenderStepped:Connect(ManipCamera)
Is the character following the camera the duration of the spell’s activation? Do you mind providing the code for the spell?