Blender rig exporter/animation importer

Okay I’ve been having SERIOUSLY annoying issues with this exporter these past few days, I’ve been completely unable to export and import NORMAL animations from blender into roblox.

The animation looks fine in blender, I’ve never had issues animating in this way in the past and I’ve done it the exact same way.
Gif%20NOT%20BORKE

When brought back into studio, my character’s body is contorted in ways it should not be.
gif%20BORKE

All the parts that need to be moved are named properly, and the parts that do not need to be moved, are not named and I’ve locked their keyframes so I’m rather confused. I’ve noticed that studio itself is having some issues, when I’m animating myself and my camera moves in the middle of a save, I’m stuck in that movement unless I close the animator. Very annoying.

5 Likes

Do any warnings appear if you select the rig in the Blender addon? If so, try to resolve those first and then re-export the rig. Additionally, disabling AutomaticScalingEnabled for the humanoid if you export a rig with a non-default HipHeight can help.

If you’re still stuck, please upload the rig somewhere so I can see what’s going wrong.

1 Like

This plugin works like a charm. Although I don’t really know if it’s compatible with custom rigs/models?
I’ve made my own player model and it’s really just a R15 rig but edited.

10%20pm

I did give it ago I get this error while trying to export the model.
19%20pm

Here are all the parts of the rig/model.
12%20pm

Any help would be great and would really help me out!
Here’s a download of the player model.

Player.rbxl (81.1 KB)

Thanks for reading,
Adamo

5 Likes

That rig has some oddly parented joints. There’s a LeftKnee joint in the LeftLowerLeg that connects the UpperTorso to the LeftUpperArm (that should be a shoulder joint). The LeftShoulder joint connects the LowerTorso to the LeftUpperLeg instead.

The plugin tries to find each joint only as children of either Part0 or Part1 of the joint, those two joints mentioned above aren’t placed in those locations.

Hey Den,
I recently went on blender to try to animate and this just started happening, I move the bone but the part attached to that part doesn’t move.
I have a part attached to it with a weld in Roblox studio, I don’t know if that could be the problem.

092a8adf30b7aff689a67b8571d30bf6

Edit: I imported a new rig without the tool and it works, but I would like to do the animation with the tool, am I doing something wrong?

1 Like

Make sure the Roblox plugin does not show warnings when selecting the rig. Spaces in part/model names may cause issues too. Also make sure to use pose mode in Blender to actually animate the rig.

I have it in pose mode and it only shows the error of the decals of the face. Should I weld the tool with a Motor6D instead?

I think welding works fine, I weld parts to my rigs all the time and I never face any issues. The only thing you need to remember is to always weld the parts to the moving part itself, meaning you can’t weld, for example, a “blade” part to the “handle” part, and then the “handle” part to the “hand” body part, the handle will move fine but the blade part will not move, I’m sure this isn’t related to your issue but you can use it as future reference I guess.

There could be several issues here but it’s hard to pinpoint what it is with very limited information. For example, you might have welded the tool in the order of “Hand → Tool”, where instead it should be “Tool → Hand”, basically the tool needs to be the parent of the actual weld. Since the hand is the one moving, you can’t weld the hand to anything, because you are essentially “locking” it to the part you’re welding it to, which means that the part that the hand is “locked” to is the part that will ultimately end up moving the hand (if it were to be movable).
Any other issue that i can think of should be detectable by Den_S’s warning prompts in his plugin, like naming issues or decals and such.

That’s all I can help you with, good luck!

3 Likes

Hi, I encountered an issue I can’t solve with the blender 2.8 beta.

I’ve definitely been using the correct script for it and it was showing up just fine but when I tried exporting the animation and importing it to Roblox I’d get a message saying it was successfully imported but nothing would happen.
Now I’ve opened blender 2.8 and the plugin seems to have removed itself. Any attempt to re-add it fails. Not really sure what is wrong but perhaps the issue is on blender’s side not the plugins?

What happens when you try to re-add it exactly? Do you get an error?

It pops up at the bottom that the modules are added but that’s it

It then sounds like it got added successfully (you’ll have to hit the save user preferences button to actually make it persist throughout different blender sessions). In blender 2.8 the only thing you’ll initially see is a new import option, see the opening post for additional instructions.

2 Likes

I installed the .py file and it shows up in my addons, but there’s nothing new in import and export. What’s going on?

Huh, when I’m in blender the animation I made plays perfectly in blender, but when I import it into- yeah just look
https://gyazo.com/d6678cdccea42bc76bbfdc74d9685a3e in blender

https://gyazo.com/af8d652fb0d7a536e391f76c38705200 in roblox

2 Likes

It could be that the latest Blender beta versions changed the API, so I’d suggest trying out an older build (or the 2.79 version) for now until I can check it out myself.

Make sure you use the newest plugin and addon versions.

Alright, I’ll see if that works or not.

Unfortunately reverting to any of the older versions didn’t change anything. Guess I’ll have to wait for an update.

Hmm… Does adding custom IK constraints affect the ability to import an animation? I added custom IK constraints since the IK generator doesn’t really do a good job at making the IK correctly (the IK bone is attached to the toes of the foot instead of the heel joint when applying IK to the foot, which sinks the heal into the floor when moving the body up/down), and after of course fully animating the rig, I tried importing the animation but instead was resulted in an error message. Is there some sort of solution or can I simply not make custom IK constraints? If not, I think the IK constraint generator needs to have an update since it doesn’t function properly after applying them to the rig.

1 Like

Custom constraints shouldn’t really affect anything, and I’d actually recommend custom tuned IK constraints over the built-in ones (in fact, pretty much any Blender animation tooling can be used, as long as you don’t discard the metadata in the rig).

That error indicates the metadata in the bones is no longer there that is required to export the animation from Blender. You can verify if it’s there by looking in the Bone properties tab while in edit mode (and selecting a bone):

image

For all generated bones this data should be there, for utility (IK) bones it is not expected.

2 Likes

I’m certain it’s not installed correctly as I was using it with 2.8 previously. I cant even see the import button, nor can i find it when i search in add-ons.