Replies: 2 comments
-
I believe this would be useful. |
Beta Was this translation helpful? Give feedback.
-
Just note that the user interactions, disable of selection, viewpoint lock are already stored in the |
Beta Was this translation helpful? Give feedback.
-
Hi,
In WeBots "worlds" made for educational purposes, it would be very useful to be able to control (restrict) programmatically how the user can interact with the scene. This is basically all the commands from the "View/Scene Interactions" menu.
One way is to add functions like wb_controller_[get|set]_scene_interactions(DWORD mask), where the mask would include bits for disabling selection, movement of objects and so on.
And then it would also be useful to add, either into the same mask or into a separate (similar) functions all those optional renderings (radar rays and such).
Actually may be not stop there and just add a supervisor function that allows to reach any command in WeBots menu?
Or still better, add something equivalent into PROTO JS context, so that we can put into a "world" some PROTO which would configure the viewing mode immediately when loading the world?
Beta Was this translation helpful? Give feedback.
All reactions