|
| 03 Aug 2016 11:31 AM |
I'm having an issue where animations don't make any change on the NPC. The script works if I set it to animate myself, but fails to do so with the NPC.
Here's the script:
local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=459527842" local animController = Instance.new("AnimationController",script.Parent.Parent.Dummy) local animTrack = animController:LoadAnimation(animation) animTrack:Play()
No errors show up in the output, and I'm desperately trying to get this to work. Help would be great.
Thanks, Chris. |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2016 11:32 AM |
Animations require a HumanoidRootPart, do you have a HumanoidRootPart in your NPC?
Lead Developer of Theatric Entertainment |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Aug 2016 11:37 AM |
| I'll also include that it IS my animation. I've been looking around trying to figure out the issue but still have come to no avail. |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2016 11:44 AM |
Alrighty I finally figured it out.
The issue was, I cannot have a humanoid part in the model along with the RootPart, for some reason that was borking the animation. |
|
|
| Report Abuse |
|
|
|
| 03 Aug 2016 12:07 PM |
Interesting, well good job figuring it out.
Lead Developer of Theatric Entertainment |
|
|
| Report Abuse |
|
|