Re: Collisions...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Defiant (jean.darc_at_btinternet.com)
Date: 09/27/04


Date: Mon, 27 Sep 2004 17:55:22 +0100

I don't know if by floating around you mean you have already coded up a
simulation using the equations of motion and you just need to get collision
detection going between the cubes and walls, anyway....

http://www.d6.com/users/checker/dynamics.htm for articles about Rigid Body
Dynamics by Chris Hecker.
http://www.ioi.dk/Homepages/thomasj/publications/gdc2001.htm for an
alternative to proper (hard) dynamic simulations.

If you are after collision detection and response articles then it really
depends on how accurate you want to go. Your best bet is google and search
for "Collision Detection and Response", then brace your self for some really
heavy duty maths and algos :) There are some public domain packages which
you might find interesting: I-Collide, Rapid, Solid, V-Clip also check out
http://www.cs.berkeley.edu/~jfc/mirtich/impulse.html for another interesting
approach, though the actual thesis seems to have gone walkies?!?

Hope this helps,

Defiant

"Chris Hastings" <chrshstngs@comcast.net> wrote in message
news:2_ednSmXWsgwqMXcRVn-sA@comcast.com...
> Hi,
> I know this is probably easy, but I'm having a hard time getting started.
> I have 2 cubes (dice) floating around the screen and I want to have them
> bounce of the walls and each other. We can start with just the walls.
> Anything that could point me in the right direction would be most
> appreciated.
> Thanks!
> Chris
>