Moves the camera around the scene.
(self, action, viewport_offset)
| 476 | self._camera.distance = distance |
| 477 | |
| 478 | def move(self, action, viewport_offset): |
| 479 | """Moves the camera around the scene.""" |
| 480 | # Not checking the validity of arguments on purpose. This method is designed |
| 481 | # to be called very often, so in order to avoid the overhead, all arguments |
| 482 | # are assumed to be valid. |
| 483 | mujoco.mjv_moveCamera(self._model.ptr, action, viewport_offset[0], |
| 484 | viewport_offset[1], self._scene.ptr, self._camera.ptr) |
| 485 | |
| 486 | def new_perturbation(self, body_id): |
| 487 | """Creates a proxy that allows to manipulate the specified object.""" |
no outgoing calls