Move vel. and acc. calculations inside PhysicsEntity.