Hey guys,
found a small error in the documentation:
- 0 means that the camera will maintain a fixed offset (local_transform.p) from the rigid body, but will not rotate with the body.
- 1 means that the camera will maintain a fixed offset and also rotate with the body.
should be
- 1 means that the camera will maintain a fixed offset (local_transform.p) from the rigid body, but will not rotate with the body.
- 0 means that the camera will maintain a fixed offset and also rotate with the body.
for the ‘attach_camera_to_body’ call.
Also, possibly something else: If I set the z axis to be up and scroll using the mouse/change the viewing angle with the mouse wheel pressed, the viewer resets to another position. If I translate the viewer before I scroll (right mouse button), the viewer doesn’t ‘jump’. You can check and reproduce it using the test_graphics_up.py example.
All the best,
Julian