How to create parts in an animation

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to spawn a part that I can also edit in animation editor for hitboxes. This way I can precisely choose the size and position of my hitboxes for each animation.

  2. What is the issue? Include screenshots / videos if possible!
    If I were to use scripts to spawn the part, I would not be able to precisely and easily adjust the hitbox’s size and position and would mean alot more work for every single animation.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I managed to get a part in my animation, but the part would need to be already existing.

Thanks for any help and don’t hesitate to ask any questions. If I’m in the wrong category let me know!

Youll need to create a part, parent it to the rig, and then use a motor6D to attach the part to the HumanoidRootPart.

Now youll be able to animate it

1 Like

Thankyou! I haven’t used motor 6d’s before. Where do I put the motor 6d exactly?

Edit: im using R6 by the way!

probably under the humanoidrootPart is best, that or the torso:

This post sums up how these things work

Thankyou! One last thing. How do I set the size. I can now only move and rotate it in the animation editor (im using moon animator, but I also can’t do it in roblox animation editor)

Yeah animations dont support scaling, you could maybe use blender but I dont know exactly how that would work.

Otherwise you might have to custom code it

Wait really? Damn that sucks. I was so close. Maybe i’ll just make a lot of different hitbox sizes and attach them all to the rig. Thanks for all the help!

1 Like

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