A

**collision**is an isolated event in which two or more moving bodies (colliding bodies) exert forces on each other for a relatively short time.
Although the most common colloquial use of the word "collision" refers to accidents in which two or more objects collide, the scientific use of the word "collision" implies nothing about the magnitude of the forces.

Some examples of physical interactions that scientists would consider collisions:

- An insect touches its antenna to the leaf of a plant. The antenna is said to collide with leaf.
- A cat walks delicately through the grass. Each contact that its paws make with the ground is a collision. Each brush of its fur against a blade of grass is a collision.

Collision is short duration interaction between two bodies or more than two bodies simultaneously causing change in motion of bodies involved due to internal forces acted between them during this. Collisions involve forces (there is a change in velocity). The magnitude of the velocity difference at impact is called the closing speed. All collisions conserve momentum. What distinguishes different types of collisions is whether they also conserve kinetic energy.Line of impact - It is the line which is common normal for surfaces are closest or in contact during impact. This is the line along which internal force of collision acts during impact and Newton's coefficient of restitution is defined only along this line.

Specifically, collisions can either be

*elastic,*meaning they conserve both momentum and kinetic energy, or*inelastic,*meaning they conserve momentum but not kinetic energy. An inelastic collision is sometimes also called a*plastic collision.*
You are the maker of the program and which integrates data ....

**let's join here**
A “perfectly-inelastic” collision (also called a "perfectly-plastic" collision) is a limiting case of inelastic collision in which the two bodies stick together after impact.

The degree to which a collision is elastic or inelastic is quantified by the coefficient of restitution, a value that generally ranges between zero and one. A perfectly elastic collision has a coefficient of restitution of one; a perfectly-inelastic collision has a coefficient of restitution of zero.

static var GRENADE_AMMO = 0;

function OnControllerColliderHit(hit : ControllerColliderHit){ if(hit.gameObject.tag == "crateGrenades"){ print("box of ammo Found"); //destroy the ammo box Destroy(hit.gameObject); //add ammo to inventory GRENADE_AMMO += 8;print("you now have "+ GRENADE_AMMO +"grenades");}}

var rayCastlength = 5 ;

function Update(){var hit : RaycastHit ;

// check if we're colliding if(Physics.Raycast(transform.position, transform.forward, hit, rayCastlength)){//with a door_openif(hit.collider.gameObject.tag == "door"){//open the door_openhit.collider.gameObject.animation.Play("door_open");}}}

Collisions play an important role in cue sports. Because the collisions between billiard balls are nearly elastic, and the balls roll on a surface that produces low rolling friction, their behavior is often used to illustrate Newton's laws of motion. After a zero-friction collision of a moving ball with a stationary one of equal mass, the angle between the directions of the two balls is 90 degrees. This is an important fact that professional billiards players take into account,

^{[1]}although it assumes the ball is moving frictionlessly across the table rather than rolling with friction. Consider an elastic collision in 2 dimensions of any 2 masses m_{1}and m_{2}, with respective initial velocities**u**and_{1}**u**=_{2}**0**, and final velocities**V**and_{1}**V**. Conservation of momentum gives m_{2}_{1}**u**_{1}= m_{1}**V**+ m_{1}_{2}**V**. Conservation of energy for an elastic collision gives (1/2)m_{2}_{1}|**u**|_{1}^{2}= (1/2)m_{1}|**V**|_{1}^{2}+ (1/2)m_{2}|**V**|_{2}^{2}. Now consider the case m_{1}= m_{2}: we obtain**u**=_{1}**V**+_{1}**V**and |_{2}**u**|_{1}^{2}= |**V**|_{1}^{2}+|**V**|_{2}^{2}. Taking the dot product of each side of the former equation with itself, |**u**|_{1}^{2}=**u**= |_{1}•u_{1}**V**|_{1}^{2}+|**V**|_{2}^{2}+2**V**. Comparing this with the latter equation gives_{1}•V_{2}**V**= 0, so they are perpendicular unless_{1}•V_{2}**V**is the zero vector (which occurs if and only if the collision is head-on)._{1}
Let the linear, angular and internal momenta of a molecule be given by the set of

*r*variables {*p*_{i}}. The state of a molecule may then be described by the range*δw*_{i}= δ*p*_{1}δ*p*_{2}δ*p*_{3}... δ*p*_{r}. There are many such ranges corresponding to different states; a specific state may be denoted by the index*i*. Two molecules undergoing a collision can thus be denoted by (*i*,*j*) (Such an ordered pair is sometimes known as a*constellation*.) It is convenient to suppose that two molecules exert a negligible effect on each other unless their centre of gravities approach within a critical distance*b*. A collision therefore begins when the respective centres of gravity arrive at this critical distance, and is completed when they again reach this critical distance on their way apart. Under this model, a collision is completely described by the matrix , which refers to the constellation (*i*,*j*) before the collision, and the (in general different) constellation (*k*,*l*) after the collision. This notation is convenient in proving Boltzmann's H-theorem of statistical mechanics.