In many tutorials that I've read, such as the slideshow here:
(add periods and slashes)
www gphysics com downloads The collision resolution constraints are modeled as inequalities rather than equalities. But I don't understand, why cant the euqations be written exactly using the impulse equation (the one on chris heckers sight for example) and then solve the system of equations using conventional methods (guass...) instead of LCP?
Thanks.
Inequality constraints
-
- Posts: 316
- Joined: Fri Jul 01, 2005 5:29 am
- Location: Irvine
-
- Posts: 2
- Joined: Thu Jun 14, 2007 10:46 am
-
- Posts: 44
- Joined: Sun Jan 22, 2006 4:31 am
What Erin is referring to is the fact that the table can only exert an upward/outward force on the box at the point of contact.
In a way this is kind of like the equation "box_bottom_coord >= table_top_coord". Notice the inequality in the equation.
An example of an equality constraint would be wanting the wheel to stay stuck to an axle, e.g. "wheel_center_coord = axle_end_coord".
Gravity is an additional "force" on the box, not a "constraint".
--EK
In a way this is kind of like the equation "box_bottom_coord >= table_top_coord". Notice the inequality in the equation.
An example of an equality constraint would be wanting the wheel to stay stuck to an axle, e.g. "wheel_center_coord = axle_end_coord".
Gravity is an additional "force" on the box, not a "constraint".
--EK
-
- Posts: 861
- Joined: Sun Jul 03, 2005 4:06 pm
- Location: Kirkland, WA