Added Type enum and gravityScale parameter to physics::Entity.