I’m working on duplicating (sort of) the character control features using drivers in the SiO2 bullet integration. I know of at least one person that was struggling with this and I will need something similar for mphys as well and the ideas should be mostly transferable.
So to facilitate this, I’ve started creating a demo environment:
The dark blue objects are moving platforms and the dark gray strip is a sort of conveyor belt.
Jaime can run around with basic physics forces (just barely)… I haven’t really gotten to the real driver implementation yet. I’ve just put in enough to test other things. How forces are applied in the context of kinematic platforms was an important consideration so I was trying to get as much of that odd platformer stuff into the demo.
Right now I’m working on the locked third person camera but I also hope to do a more free-look contextual based third person camera like in “insert most action games here”. First person camera is the easiest case so I’m not worrying too much about it.
I’ve also been reading a lot of articles on platformer jump physics and stuff… hopefully something good and tweakable comes out of all of this but frankly I was just happy to have moving kinematic platforms that Jaime could walk onto and ride.