I’m trying to make an animated coat for my game, and it worked on an animated cape I made but not my coat? They have the same script to run the animations.
It ends up stretching out really far in game and clipping through the floor.
local animation = script.Parent:WaitForChild("AnimationController"):LoadAnimation(script.Parent:WaitForChild("idle"))
Thanks for any help.
Adding a skinned mesh also use humanoid to loadAnimation
So you destroy the animcontroller
And put this script
Local animation = Script.Parent.Humanoid:LoadAnimation("Script.Animation") --There is othermethod
I did some more experimenting and I found out that this only happens on animations where I move around the bones instead of just rotating them, is there any way around this?
You mean world WorldCFrame.Position?
I don’t think so, it’s like the position in the roblox animator
Am confused right now can i understand what do you want to do?
Apologies from my brain
I’m just trying to animate the coat so that it looks like its flowing in the wind, its just animating wierd like shown in the picture in the original post
Ooh now i understand but do you want to make it from The avatar animation or as a script
I’m animating it on the roblox animator and running it from the script
local animation = Instance.new("Animation")
animation.AnimationId = "" --Anim ID
local animationTrack = animationController:LoadAnimation(animation)
-- Play the animation
Or you can use the Anim controller’s Animator