Compound Physics Armatures

Post Reply
BluePrintRandom
Posts: 47
Joined: Sun Oct 27, 2013 4:16 am

Compound Physics Armatures

Post 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 - 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.

here is the demo file - http://www.blendswap.com/blends/view/85742
BluePrintRandom
Posts: 47
Joined: Sun Oct 27, 2013 4:16 am

Re: Compound Physics Armatures

Post by BluePrintRandom »

https://www.youtube.com/watch?v=ydnqXhktudk 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
Post Reply