I created a custom robot using the Robot Node by importing some meshes and creating boundary boxes with primitive shapes. I want to use it in another world, and I know the process involves creating a Proto. My question is: How can I turn my robot into a PROTO? In the past, I remember that right-clicking the node would display the "Export to Proto" option. Is there a way to do this in Webots 2023?
1 Answer
$\begingroup$
$\endgroup$
The only way to do this is to:
- Open a text editor
- Load the world file containing your Robot node in the text editor
- Create a new PROTO file from scratch in the text editor
- Copy your Robot node from the world file
- Paste it in the body of your PROTO node
All this procedure is explained in detail in this tutorial.
Disclaimer: I am a Webots developer working at Cyberbotics.