[ODE] Stability as a constraint?
Amund Børsand
amund at c2i.net
Thu Jun 26 04:18:01 2003
> 4. Each object's linear and angular velocities would be scaled or otherwise
> constrained to the accumulated Energy. This would for one thing eliminate the
> "object spinning in space goes nutzoid" issue.
> 5. All the Energy's would be constrained in some magical way to sum to the
> SystemEnergy. This would prevent any explosions.
Probably not silly, but HOW? In which direction would you constrain
which object, if the energy suddenly seemed to be too large? If one
object was exploding, your constraint would just spread the explotion
over all the objects, so that all of them would explode "a little" (i.e.
suddenly move/rotate).. ?
What I thought of when reading your thoughts, that could be very useful
especially for debugging, would be to have some sort of "explosion
detection", so that the program will halt in or right after the timestep
an explosion occured, dumping some variables which could help the
programmer find out what, where and why. But this would probably have to
be coded into the application, and has nothing to do with ODE itself, I
guess.. ?