![]() ![]() Change its translation to 0 0.05 0 instead of 0 0.3 0.Īlternatively, you may use the green arrow that appears in the 3D view to adjust its translation.y field.In the open dialog box, choose PROTO nodes (Webots Projects) / objects / factory / containers / WoodenBox (Solid).Ī big box should appear in the middle of the arena.ĭouble-click on it in the scene tree to open its fields. Hands-on #4: Double-click on the RectangleArena in the scene tree to close it and select it.Ĭlick on the Add button (plus sign) at the top of the scene tree. In the scene tree view, the fields are displayed in a different color (depending on the theme) if they differ from their default values. The wall of the arena should now be lower. Select the wallHeight field and change its value to 0.05 instead of 0.1.You should see the effect immediately in the 3D view. Select the floorTileSize field and set its value to 0.25 0.25 instead of 0.5 0.5.This should open the node and display its fields. Hands-on #3: Double-click on the RectangleArena node in the scene tree. Let's modify these fields to change the rectangle arena: RectangleArena: define the only object you see so far in this scene.Įach node has some customizable properties called Fields.TexturedBackroundLight: defines the light associated with the above background.TexturedBackground: defines the background of the scene (you should see mountains far away if you rotate a little bit the viewpoint).Viewpoint: defines the main viewpoint camera parameters.WorldInfo: contains global parameters of the simulation.It should currently list the following nodes: The scene tree view is where the nodes and fields can be modified. ![]() The scene tree can be viewed in two sub-windows of the main window: the 3D view (at the center of the main window) is the 3D representation of the scene tree and the scene tree view (on the left) is the hierarchical representation of the scene tree. Webots nodes stored in world files are organized in a tree structure called the scene tree. You can move the viewpoint in the 3D view using the mouse: left button, right button and the wheel. The 3D view should display a square arena with a checkered floor. This corresponds to the standard file hierarchy of a Webots project.Ĭlick on the Finish (Windows, Linux) or Done (macOS) button to close this window.Ĭongratulations, you just created your very first Webots world! Webots displays a list of directories and files it just created.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |