Add getVelocity, isFloating and build constructor.