This paper addresses the problem of balancing an inverted pendulum on an omnidirectional platform in a three-dimensional setting. Equations of motion of the platform – pendulum system in quasi-velocities are constructed. To solve the problem of balancing the pendulum by controlling the motion of the platform, a hybrid genetic algorithm is used. The behavior of the system is investigated under different initial conditions taking into account a necessary stop of the platform or the need for continuation of the motion at the end point of the trajectory. It is shown that the solution of the problem in a two-dimensional setting is a particular case of three-dimensional balancing.