Made rigid body a game component