Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current implementation of IK export is a waste of performance #67

Open
Jason0214 opened this issue Aug 6, 2018 · 1 comment
Open

Current implementation of IK export is a waste of performance #67

Jason0214 opened this issue Aug 6, 2018 · 1 comment

Comments

@Jason0214
Copy link
Collaborator

Jason0214 commented Aug 6, 2018

Current support for IK (#63) is implemented by calling blender API bake_action to baking constraint to actions, however, blender bake_action inner calls frame_set() for every frame. So call bake_action for every object has constraints is a waste of performance,

there are two possible way to solve it:

  1. for blender > 2.79.1, there exist API bake_action_objects to bake multiple objects at once
  2. simple use the approach of BetterCollada addon, we iteratively call frame_set() to export all the animation, give up the current implementation of evaluating fcurves
@Jason0214
Copy link
Collaborator Author

excited to see godot have native support for IK (godotengine/godot#18699), if we can export IK without baking then everything would be perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant