Skip to content

Add physics to animation from blender ? #70

Answered by stockhuman
Franckapik asked this question in General
Discussion options

You must be logged in to vote

That would be an amazing feature - I think it might surpass the capabilities of just about every game engine if we could have morphing collision meshes! Unfortunately, I don't think that's on the horizon.

I've wanted to make a cannon'd snake model that internally uses the same sort of constraints as in the chain demo, but I don't think that's what you're suggesting. If you are asking if it is possible to animate a glTF import and to add a physics mesh to it, then yes, that is possible.

Here's a quick illustration of glTF animation and physics, using the cannon ping pong and r3f text demos.

https://codesandbox.io/s/a-more-cruel-ping-pong-4geih?file=/src/Bird.js

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by codynova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #70 on June 17, 2020 20:10.