How to play animations that involve Cframe?

Hello! I’m trying to play an animation into an NPC. It is an animation that opens a door, and is created in Moon Animator.

What do I want to achieve?
I want to be able to play an animation that involves CFrame.

What is the issue?
I’ve tried playing the animation in a NPC, although it only creates movements for the Character, and doesn’t move the door.

What solutions have you tried so far?
I haven’t been able to get much anywhere with any of my solutions.

Create a rig for the door (Motor6D with HumanoidRootPart feature), And recreate the animation using already Rigged door, that always works

2 Likes

How would you rig the door? I’m new to animation and I don’t know how to rig with either one.

Check out some rigging tutorials on youtube, its easier to understand this way

1 Like

Alright I’ve created the animation but how would I play the animation on an NPC? (in game)

I’ve found the way to playing the animation through the NPC, what I had needed to do was to create 2 separate animations, one for the door (that was rigged) and one for the NPC which had opened the door. Afterwards, you can play the animation through the NPC in a script, although their is something different for the door. I had to add a humanoid into it, and I could use the same script afterwards to play the script.

there is many options, you can animate using scripts and cframe and etc, its just to your liking

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.