This page provides a detailed overview of the Behavior Editor Navigation.


Contents


Moving Nodes


To move a node to a different location, first select the node, then hold the Shift key down while using the arrow keys. Note:

  • Only one node can be moved at a time.
  • To move a node to be a child of another node, move it immediately below the desired parent node, then move it to the right.

Actions


  • Left Click - select a node. Will display in the Node Editor
  • Right Click - display modification options. See Right Click Menu
  • Click and Drag - move the center of view
  • Scroll up - Zoom in
  • Scroll down - Zoom out
  • Arrow keys - select neighboring node
  • Shift + Arrow keys - move selected node in the specified direction
  • Delete - delete the selected node, or nodes
  • CTRL + Left Click - multi-selection of nodes
  • Shift + Right Click - select the node and all its children
  • Shift + Left Click - select the node and all its children and opens the menu
  • Reset Zoom - Click the reset zoom icon ResetZoom.PNG located in the upper right corner to recenter and zoom the behavior editor
  • CTRL + X - Cut
  • CTRL + C - Copy
  • CTRL + V - Paste
  • CTRL + Z - Undo
  • CTRL + Y - Redo
  • Clicking a node from the Node Palette adds the node as a child of the selected node. If the selected node does not accept children, the node will be added as a sibling.
  • The behavior editor can be expanded to fill the entire Studio screen by selecting "Tree" from the Top Bar. Split displays both the Behavior Editor and the 3D view.

Tips


  • Break up your behavior tree in to logical sections. Use the sequence node as a parent of action nodes (for example MOVE TO, SET TO, etc.) that have a similar purpose. For example, make all of the nodes required to do a pick function under a single sequence node, and all of the nodes required to do a place under a separate sequence node. This will make the logic easier to follow, allows you to collapse and expand those sections, and easily allows the addition conditional nodes if you decide they are needed in the future.
  • The easiest way to add a composite node before a number of children is to add it to the tree, then multi-select the children, cut, and paste in the desired location.
  • Adding a node from the node palette often results in a node in an undesired location, requiring the need to move it. Using the right mouse button to insert a node allows for more control over where the new node is located.
  • After multi-selecting using the Ctrl key, right click in the white space if you want to use the menu to copy, cut, or delete for all the selected nodes.
  • Clicking on other parts of the screen (node palette, 3D view, tool bar, etc) causes the behavior tree to lose focus, so the arrow keys don't work.  Clicking somewhere in the white space brings focus back and re-enables the arrow keys.  The icon for the hot keys is visible when it is in focus. Hotkey icon.PNG