0 votes

Hello!

I'm trying to use Better Collada to export a First Person Shooter Arms rig together with a rigged gun.

Each rig has it's own actions, each with their own keyframes. Together they compose some common animations found in FPS games.

For example, take a look at this melee attack animation playing in Blender. The knife is parented to the rig's left hand. The knife follows the hand, as expected:

Animation playing in Blender

But, playing the same animation in Godot, the movement of the knife doesn't follow the hand around properly. There seems to be a timing issue. It describes the correct trajectory, but in a different time frame:

Animation Playing in Godot

I already tried baking the animations using multiple settings, including 'Clear Constraints', 'Visual Keying' and many other combination of settings, but the issue persists.

Any idea how to solve this?

Anyway, thank you guys!

in Engine by (12 points)
edited by

1 Answer

0 votes

There might be a lot of issues to cause it, and they are mostly common though game engines (at least in terms of exporting from blender to them). I will also print here those you explicitly mentioned you did just for reference for others. There is number i can think of:
1) Always bake your animations
2) Be sure to set blender fps to desired value in Godot (that should not cause sync problems, but still)
3) Import models ONLY with deformation bones and not control bones (delete or somehow hide them before exporting)
4) No stretching bones (I wasted a month debugging issue with stretching bone in Unreal Engine 4, and apparently every game engine have issues with those)
5) In case of Godot use glTF 2.0 format. It is recommended by Godot manual and the most stable from my experience

I might miss some other possible issues. I'll live links to youtube videos, explaining most of exporting from blender to game engines.

General
Game-ready Rigs #1
Game-ready Rigs #2
Game-ready Rigs #3

Godot specifically (uses info given in first 3 videos)
Blender to Godot: Rigged Character Workflow

Hopefully something here will help. If you figure out your exact problem you have, please share

by (14 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.