Chaster
16-10-2007 14:08:44
This is a minor bug fix (well, not really a "bug", but more of a small suggestion):
Currently, OgreBullet uses SimpleDynamicsWorld for it's stepper. SimpleDynamicsWorld is pretty limited in the way it steps the world. I think it would be better to have DiscreteDynamicsWorld be the "default" world. I didn't really look around the code very much, so if there is already a feature set for this (I just went by the demo code) ignore this. I went into the code and replaced the lines where SimpleDynamicsWorld was used with DiscreteDynamicsWorld. Oh, and I slightly changed the stepping function to expose the maxSubSteps argument (instead of it being hardcoded to "1"). These are such simple changes, I didn't make a patch, but if Tuan wants, I can post the changes here... (not close to my dev system right now, so I can't post them right now..)
Chaster
Currently, OgreBullet uses SimpleDynamicsWorld for it's stepper. SimpleDynamicsWorld is pretty limited in the way it steps the world. I think it would be better to have DiscreteDynamicsWorld be the "default" world. I didn't really look around the code very much, so if there is already a feature set for this (I just went by the demo code) ignore this. I went into the code and replaced the lines where SimpleDynamicsWorld was used with DiscreteDynamicsWorld. Oh, and I slightly changed the stepping function to expose the maxSubSteps argument (instead of it being hardcoded to "1"). These are such simple changes, I didn't make a patch, but if Tuan wants, I can post the changes here... (not close to my dev system right now, so I can't post them right now..)
Chaster