[ODE] interactive and continuous physics collisions?

Ross L. Hatton rlhatton at cmu.edu
Fri Aug 24 07:51:04 MST 2007


Have you tried increasing your time resolution (decreasing your 
timestep)?  That should allow your simulation to continue to catch the 
collisions close to the actual times/locations of contact as you 
increase the speeds of your objects.

-Ross

Onur Tugcu wrote:
> Hello,
> 
> I'm working on a networked 2d table game. My scene is simple,
> 
> a ball sphere
> a player1 sphere
> a player2 sphere
> constrained onto the plane, sphere centers are right on the plane.
> 
> 4 thin boxes on the sides constraining the ball within the table's surface.
> 
> The players control massless geometries (spheres) to hit the ball and score.
> 
> When the geometries stand still, the ball collides and bounces fine,
> same works for the side boxes.
> 
> When the geometries hit the ball slowly, things are still well, and
> the game is somehow playable.
> 
> But when the players move too quickly, they will pass through the
> ball, or do a strange bouncing (since the next simulation step has the
> ball inside the player's sphere)
> 
> Also when the ball hits the boxes too fast, it will pass through them
> and continue flying off.
> 
> So is there any way of constraining the ball on a limited surface area
> or constraining the ball to never pass through certain objects like
> spheres?
> 
> Am I doing something wrong? is there a better way of doing all this?
> 
> Thanks in advance.
> _______________________________________________
> ODE mailing list
> ODE at ode.org
> http://ode.org/mailman/listinfo/ode
> 


More information about the ODE mailing list