Mostly a question for Erin.
While trying to track down (what I now think is) a CCD bug in the Flash port, I've been testing against Java (easier to check AS3 code vs. Java than C++) and building some rather large structures lately, tall triangle scaffoldings composed of many rods and joints, and one thing I'm noticing is that when it bends so that the constraints are violated a little bit, the whole thing often starts undergoing self-reinforcing oscillations (also a few self-accelerating rotations). It's just revolute joints and rectangles, so it's gotta be the revolute joints at fault.
Is this to be expected from the simulation method? I know in many cases energy can leave the system because of the constraints, but I would have thought the system was set up so that it would never enter - is that wrong? It did occur to me that the constraints might only satisfy conservation laws to first order around the allowed positions or something like that.
I can put a testbed example in C++ together at some point, but I figured you might know off the top of your head whether this is to be expected or not (and if not, it's probably just a bug in the Java port). If it isn't prohibited by the constraint formulation, do you know if it's possible to modify the constraints so that they would at least keep energy from being generated when displaced, even if they don't prevent it from dissipating?
While trying to track down (what I now think is) a CCD bug in the Flash port, I've been testing against Java (easier to check AS3 code vs. Java than C++) and building some rather large structures lately, tall triangle scaffoldings composed of many rods and joints, and one thing I'm noticing is that when it bends so that the constraints are violated a little bit, the whole thing often starts undergoing self-reinforcing oscillations (also a few self-accelerating rotations). It's just revolute joints and rectangles, so it's gotta be the revolute joints at fault.
Is this to be expected from the simulation method? I know in many cases energy can leave the system because of the constraints, but I would have thought the system was set up so that it would never enter - is that wrong? It did occur to me that the constraints might only satisfy conservation laws to first order around the allowed positions or something like that.
I can put a testbed example in C++ together at some point, but I figured you might know off the top of your head whether this is to be expected or not (and if not, it's probably just a bug in the Java port). If it isn't prohibited by the constraint formulation, do you know if it's possible to modify the constraints so that they would at least keep energy from being generated when displaced, even if they don't prevent it from dissipating?