The VRML97 import feature was removed from Webots R2023a because it is replaced by the Mesh and CadShape nodes.
Referring to an external CAD file is way better than including it inside the world or proto file for several reasons:
- It is easier to maintain the shapes: you can edit/regenerate the CAD file independently of your simulation worlds or proto files.
- It makes the world and proto files lighter, more readable and easier to maintain.
If your DAE file doesn't look great because it is a mesh, I would recommend you to use the Mesh
node instead of the CadShape
node to import it. This way, you will be able to set a nice appearance for it in Webots. See for example metal or plastic appearances available in Webots.
You may also want to use the indexMaterial
field of the Mesh
node to be able to specify different materials for every part of your CAD model.
Webots version R2023a is the best choice in terms of performance and features compared to R2021b. So, I would definitely recommend using the newest version.
Disclaimer: I am a Webots developer working at Cyberbotics.