RigidBody
This component lets your GameObject to be affected by the gravity
new RigidBody()addHorizontalForce(int xForce); // Moves object left and right
setMass(float mass); // Sets the mass of the GameObjectLast updated
This component lets your GameObject to be affected by the gravity
new RigidBody()addHorizontalForce(int xForce); // Moves object left and right
setMass(float mass); // Sets the mass of the GameObjectLast updated