I animated a punch animation but the animation involes stepping forwards
and because of that when i play it in runtime the animation plays but my camera stays where it was before and the player is also brought where the animation first started
i tried to find a code which will follow the body through runtime but i couldnt find any single source
im using moon animtor btw
#Camera Following Animation
1 messages · Page 1 of 1 (latest)
** You are now Level 11! **
lllllllllllllll6 666666666666666666666666666666666
mb
my
cat was on the keyboard
didnt mean to actually respond to this forum
Can't you just use like camera.FollowPart = head or something?
Try finding out all the camara properties on the documentation
you could use CameraSubject though lol
does the camera follow the humanoid root part
and dosent the humanoid root part NOT follow the rig
lol 😭
thanks for the laughs
oi help me
lemme see
however the guy is only modifying the existing camera module script
i see
u could attach it to the humanoidrootpart rather than the player's head
the thing is
also for applying smoothness u could do lerp
moon animater only animates rig
the humanoid part stays
where it was
humanoid root part*
oh
wait let me see the video first
i dont use moon animator
alr
ok so it does help in tracking the head
but the animater is not capable of moving the humanoid root part
a cheap fix would be a local script in StarterCharacterScripts that sets the HumanoidRootPart CFrame to the torso's position
and bind that function to renderstepped
I might be extremely wrong, take it with a grain of salt
mhm
it works
but the animation glitches
can u provide a video
k
oh wait the recording is in mkv
lmme convert it first
it might sound stupid but
what if you set the camera to ur character torso instead of the humanoidrootpart
-- LocalScript inside StarterCharacterScripts (R6 only)
local RunService = game:GetService("RunService")
local char = script.Parent
local torso = char:WaitForChild("Torso")
local hrp = char:WaitForChild("HumanoidRootPart")
RunService.RenderStepped:Connect(function()
hrp.CFrame = torso.CFrame
end)
i gotta go now
but do some research
site:devforum.roblox.com question/issue here
on google
k
why do that when you can just use the torso itself?
** You are now Level 14! **