Quote:
Originally Posted by GameKid
Sfunk, I know that, what i'm asking is; how?
Thanks tau, i'll try to use that, if all else fails.
|
Make a sphere and infinitely loop:
If (Thing to collide) is within (Sphere's width/2) of Sphere
(Thing to collide) move (Opposite direction in which it is currently traveling, use a variable that changes with you're movement command) (Exact speed at which the thing to collide is currently traveling)
Else
Do nothing
Just play that method with a parameter for the sphere and play the method infinitely for each sphere you have, and each thing you want to collide with it you have. Put the spheres, invisible, anywhere you want a collision to be, using many spheres placed correctly to make a different shape.
--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes
Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade
Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ