Page 1 of 1

Compound Physics Armatures

Posted: Fri Oct 28, 2016 8:12 pm
by BluePrintRandom
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 child 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 -
however she will not walk forward only by playing an animation - I have to combine the animation with a forward sero motion.

here is the demo file -

Re: Compound Physics Armatures

Posted: Sat Oct 29, 2016 12:53 am
by BluePrintRandom here is a update -turned physics vizulisations on in this one
*force applications are done with raycasts at the moment - the child shapes moving produce no thrust* as they 'teleport' each frame