Blender rig exporter/animation importer

Punching.fbx (272.3 KB)
this is the animation fbx i downloaded from mixamo, assured by 2 video tutorials from this year it is exactly as instructed.
just trying to map it to a normal roblox rig created by the default roblox animation plugins rig builder and exported to obj with the plugin provided here

2 Likes

The bone names do not match, your fbx file appends 1 to each bone name:

image

(plus I believe you should only export/import the armature, the parts should not be exported/imported as they’re not a skinned mesh)

3 Likes

thank you, i fixed the problem, it had something to do with the dummy rig i exported, but now theres another problem, which was there before, my studio lags and crashes after i close the plugin (click on the plugin logo on the plugins tab in studio), would you know why that is? i pasted the code given by the animation export, then it said animation was saved but when i closed the plugin it crashed

The crash on closing the plugin is caused by a Roblox bug.

3 Likes

Awesome! Can’t wait to work in 2.8 now :ok_hand:

1 Like

So just got onto this and when I clicked on the pastebin link it gave me a line of python text but no download. It also isn’t specified what to do about this so, help…

1 Like

copy the whole code, create a new .txt (text document) and paste it all, save it as “AnyName.py” then open up blender, go to addons and install it from the AnyName.py file, the post says it all, read through carefully

@Den_S Oy, how do I get rid of these spammed “[RBX Animations]” buttons? I tried running scripts multiple times and and I thought the “Rbx Animations” category wasn’t show.

1 Like

I did that and blender just corrupted

go to the addons tab and search for “animat” or something, you will see multiple roblox addons installed and just delete them one by one

Can you elaborate on what gets “corrupted” exactly? The steps @Wingboy0 gave should work fine (alternatively, just Ctrl+S in your browser to save the script directly, make sure to save as .py, not .py.txt).

If I re-size an animated model in blender and it has constraints and I export the animation will I be able to put the animation on a smaller sized rig?

It’s easiest to just try it out and only post about specific issues you experience with it.

Generally the addon ignores scale transforms on the individual bones (as Roblox doesn’t support that currently), but if some other scale transform (or whatever other operation you perform, such as IK constraints, or curve modifiers) causes the bone position and/or rotation transform to change, then the effect of that transformation will be exported as well.

As scaling the entire rig will cause bone nodes to move around relative to (away from) their parent bone, that’ll thus likely cause the bones to move around when being exported as well (but character itself won’t be scaled up).

3 Likes

Is there a way i can scale down the rig + animations and have them work properly? The animation is using IK

I still don’t know what issues you’re experiencing exactly, post your specific issues and I may be able to help you.

I’d just avoid scaling the rig in the first place, though.

Blender

Studio

The animation seems to be offset

4 Likes

It looks like you can simply scale back to the normal size again, given how scaling clearly affected the positions of the bones here.

I don’t believe there’s a simple way to make the addon think your rig isn’t scaled. You can probably use a scale modifier instead or so to temporarily scale your rig up if you really wanted to (would still advice against it). (I’m not that much of a Blender guru, though)

2 Likes

Blender 2.8 for me now crashes when I open it, and it can’t be fixed through deleting and re-downloading (I’m guessing it downloaded external files that don’t get deleted during deletion). I am using .py without any .txt or .rtd

1 Like

You could try removing the installed addon file from %APPDATA%\Blender Foundation\Blender\2.80\scripts\addons (by default), it may start launching again after that.

Could start running Blender via a terminal too, e.g. via "%PROGRAMFILES%\Blender Foundation\Blender280\blender.exe" (or wherever you installed it), so that you can view some output Blender gives, which may explain why Blender crashed. Not sure if Blender produces crash logs on its own.

1 Like

Ya that won’t help, because I’m on a Mac