[ODE] bouncing back after collision with wall
Jon Watte
hplus-ode at mindcontrol.org
Tue Aug 17 16:18:09 MST 2004
Enable the Bounce parameter of the contact geom when
creating the contact joints.
Note that the reason ball<->ball collisions "bounce"
is the symmetry between the forces resolving the
contacts.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of Vrej
Melkonian
Sent: Monday, August 16, 2004 10:40 PM
To: ode at q12.org
Subject: [ODE] bouncing back after collision with wall
Hi,
I have created a simple world in which I have a few
walls and I'm having spheres bounce around.
When the sphere hit each other, they show visually
correct physics but when they hit the wall, it's as if
they lose all their kinetic energy, so they don't
bounce back.
The walls are just "geom", so they are part of the
ODE's space. They don't move in other words.
Did I make a mistake somewhere in my code? I will
provide the source if that helps.
-Vrej
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list