jarllarsson / promenade

Code repository for Master's Thesis: "Performance of Physics-Driven Procedural Animation of Character Locomotion For Bipedal and Quadrupedal Gait"
Other
24 stars 4 forks source link

[Old bug] Collision writes result wrong #12

Closed jarllarsson closed 9 years ago

jarllarsson commented 10 years ago

The feet explicit collision check writes it result to the wrong place in memory it seems

jarllarsson commented 9 years ago

I never fixed this! In controllersystem in isincontrolledstance: bool isTouchingGround = false; //isFootStrike(p_lf,p_legIdx);

The collision check is still commented out! Reenable this and try to find the bug as to why not all characters receive the correct collision data.

jarllarsson commented 9 years ago

This was fixed a while ago. I changed the way in which collisions are fed back from bullet to surrounding systems, in order to get the results when bullet is done with a full simulation step. The solution I used before could query results before a full simulation had been done.