noticed in the egg room that sometimes the objects would pass threw each other. Is it possibly because one of the eggs was colliding with 2 other eggs at the same time but only passing on momentum and moving away from 1?
It happens when the collision cannot be resolved... It can happen many ways. Yes, if colliding with multiple objects, sometimes the result is Towards() returns false with the second pairing because the first pairing caused one of the object to move away from the third. Also, with rotation...
The default is to ignore the collision but you can call other basic collision when this happens, like moveaway to gradually fix this or collisionmoveaway...
A player... OK, Added...
Shove match with cars
Balls bounce off it with no effect on the player, same with eggs (I was too lazy to make player move with speed)
Shoved out of the way by solids
Added CollisionMoveAway fallback collision for balls and eggs
The point of these functions is you can tailor the collision calling various functions. No one function does it all. You try one or another or a combination until the collision result is respectable.
Edited by icuurd12b42, 05 November 2009 - 10:35 PM.