Node Copied to Clipboard!

Editor Documentation - Nodes

Parent/Children Nodes

Their are multiple methods in Modest3D where you can set a parent object or add children objects.

Add Children

The AddChildren node is used to parent multiple objects to the attached node. Add these child objects by dragging them to the slot provided. More slots can be added by clicking the “+” button on the node.

We start with 3 objects in the scene.

Drag an object from the player window to the story border, right click drag from the object to create highlight > wait for click > un highlight > animate. Enter a value in the animate node so when you hit play your selected object will animate.

Right click and drag from the object again to create Add Child or Add Children

  • Add Child - Will give you the ability to add a child to the object
  • Add Children - Will give you the ability to add multiple children to the object

Select add children, notice the + sign this will add a child slot every time you click +

Drag the other objects to the story border, either place an object into the child slot or connect the side handlers together to a child slot.

Connect the add children node to the rest of the flow and hit play, if done correctly the object you clicked will animate and the children objects.

Node Example

Set Parent

Set Parent will give you the ability to set an object to be a parent to another object.

Drag an object from the editor window to the Storyboarder.

Right click drag from the object's bottom handler to produce a list of possible nodes, type in set parent and enter.

Notice a parent slot, drag your desired parent object from the editor window to the Storyboarder.

Drop the parent object in the parent slot in the set parent node, drag or copy the parent object to the Storyboarder.

From the parent object right click drag and create the fallowing string of nodes highlight > wait for click > un highlight > animate, enter a animate value. If done correctly when you play the lesson and click on the parent object the child should animate as well.

Node Example

Unparent Node

Unparent node allows you to remove an object out of the parent. After applying the Unparent node, the object will be no longer a part of the parent and will act independently of the original parent.

Drag an object that is a child of a parent from the Edit View to the Storyboarder. In this case we drag the airscrew(a child of the helicorpter) to the Storyboarder.

Right click the bottom point of the airscrew node and choose Unparent.

Link the node and manipulate the parent(Helicorpter) after the UnParent node and observe if the airscrew still acts as a part of the helicorpter.

You can also download the demostration lesson named UnparentNode from Projects>>Samples on Modest3D website: