by ant0N » 10 Nov 2012, 15:07
consider this scenario:
function Collision(Entity, force, speed)
end
This function is called each time when the subject is confronted with something.
The Entity if the Entity = 0, then in a collision with any object will be called by this function.
force - the force at which is called by this function. If force = 0, then any power.
speed - the speed at which this function is called. If speed = 0, then any speed.