Blender rig exporter/animation importer

What does it look like when you import it as a standard FBX? (so no mapping through the plugin)
It looks like Z/-Y, or a Z/X swap.

1 Like

Currently selected: Upper Torso, Upper Right Leg, Upper Left Leg

1 Like

It looks like it’s because Maya apparently aligns -X along the bone, while blender uses Y, which messes up the orientation. It could be worth trying out if that somehow fixes it (but it seems like other transforms are Z/-Y swapped).

In FBX import, there’s also an Armatures tab, which allows you to configure these parameters.

888fff927cd954319d23962084f1f9e14571551f.png

According to Maya’s docs the primary is -X (which makes sense), but try some configurations :stuck_out_tongue: .

This is strange considering that I’ve successfully done this before… I’m going to send you a DM.

1 Like

Anybody know how to make the joints not float?

2 Likes

That’s an issue with the attachment points on R15 rigs, the rotation point is in a really odd position making animating a pain, mostly apparent on non-blocky packages.
@Sharksie visualized it here nicely (and let someone fix it :stuck_out_tongue: ): http://devforum.roblox.com/t/filled-100-fix-rig-attachments-on-all-packages/35058

Best is to actually fix the issue at its core: the R15 rig attachments like @Sharksie did, obviously.
You can also write a script to manipulate the transforms to “emulate” a different joint position if you don’t want to change the rig (be aware that you’d have to do this for every package you’d like to support) (but fix the rig instead please ;)).

2 Likes

does r6 figures import with a proper rig now

honestly moving to blender as i want to give it a try

1 Like

Not yet, sorry. As I don’t need R6 support myself I haven’t really prioritized this yet.

My Rbx2Source tool can generate R6 rigs.

You can import models generated for it if you have the blender source tools plugin.
(Files are stored in %appdata%/Rbx2Source)
I’ll see if I can create a different version of my tool that exports to FBX instead.

13 Likes

FBX Exporting would be great!

2 Likes

I second this notion!

1 Like

I’m going to look into this.
RIght now my tool is kinda tightly bound to character appearances, and rigs are assembled using RigAttachments (in a similar manner to BuildRigFromAttachments), so I’m gonna have to refactor a lot of the backend stuff to make it friendly to export with generic Motor6D rigs.

In the mean time, if you install a free Source engine game like Team Fortress 2, then Rbx2Source should let you generate models since it’ll be compiling it for that game.

1 Like

My Mixamo animations always end up facing the opposite direction. Any idea why this is happening?
https://youtu.be/KREiB6WtfSU

Rotate the original Roblox rig 180 degrees in Studio before exporting. Mixamo applies the animation in armature space and derives from that in which direction the rig is facing, to my knowledge.

1 Like

Thank you!

Very impressive tool. Here’s a running animation I did over the span of over three hours of on-and-off work.

2017-06-16_16-00-06.gif

27 Likes

On a partially related note to this, I just wrote a wiki article detailing Roblox’s mesh format (both ASCII and binary) if anyone is interested:

http://wiki.roblox.com/index.php?title=Roblox_Mesh_Format

5 Likes

I’m having some problems understanding keyframe names in the plugin. I want to label some keyframes in my animation because that is how I get sound to play in the game I’m working on. Is keyframe name based off of blender frames or what? Super confused!f8fb932f7fe9e6dab1c04843ed0829b8ece3ad0b.PNG

2 Likes

For each keyframe name you add there it will fire KeyframeReached with the specified name at Time (in seconds) in the animation.
The keyframe name is thus exactly what Roblox its KeyframeReached will fire with and can be anything. It is completely independent of Blender keyframes.

So should the keyframe timing be the same as ROBLOX keyframe timing? I’m not a scripter, only an animator and visuals designer so scripting terms are very broad for me.

1 Like