Hi everyone,
how to change the default GUI camera viewpoint using bullet_client?
Thanks in advance!
Change default GUI camera view
-
- Posts: 4
- Joined: Fri Jul 05, 2019 6:27 am
Re: Change default GUI camera view
Hi ,
In the examples there is the following function
Which control the camera view you can change the values and it will change the camera.
In the examples there is the following function
Code: Select all
void resetCamera()
{
float dist = 120;
float pitch = -35;
float yaw = 52;
float targetPos[3] = {0, 10.46, 0};
m_guiHelper->resetCamera(dist, yaw, pitch, targetPos[0], targetPos[1], targetPos[2]);
}
-
- Posts: 2
- Joined: Wed Jul 10, 2019 3:30 am
Re: Change default GUI camera view
Thank you so much! What is the gui_helper? If you happen to have could you provide like a simple script?
Also, is there an example in python? Does it have a matching interface in python?
Also, is there an example in python? Does it have a matching interface in python?