Added centerOfmath, friction, angularVelocityFactor and ApplyForce for the RigidBody