Compound physics Armature Actors #3531
Replies: 4 comments
-
What you describe totally sounds like an issue dicussed only on the bullet physics forum and not the github developer's page. Give it a try there, people will help you. And do not forget to close the issue here. |
Beta Was this translation helpful? Give feedback.
-
Moving to forum** |
Beta Was this translation helpful? Give feedback.
-
Oh, I am sorry, I did not see that you proposed a new built-in system. I was somehow carried away by the rest. Feel free to open your issue again. |
Beta Was this translation helpful? Give feedback.
-
basically we need a method that moves and rotates the child shapes each frame, and computes the forces this would generate based on contacts during the substeps I think* has anyone here ever delt with this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I have found an easy way to get an accurate physics shape for actors in blender
I have a compound root object - the armature to be animated parents to this,
each bone that is to have physics has a 'bone tag' parented to it, and a shild shape
that approximates the shape of the bone
every frame I remove parent on all the child shapes, move them to where the bone tag is, and match it's rotation, then compound parent the child shape to the root,
this allows my actors to go up and down stairs by applying a forward servo motion while playing a stair walk animation.
this system works great, but when a child shape is contacting, and is moved, produces no friction,
I purpose a build in system that does all this under the hood but also computes the friction during the move maybe using substeps?
here is the system in action - https://www.youtube.com/watch?v=cx_9F0RNtzc
however she will not walk forward only by playing an animation - I have to combine the animation with a forward sero motion.
Beta Was this translation helpful? Give feedback.
All reactions