-
Notifications
You must be signed in to change notification settings - Fork 573
Node
Back to Getting Started
A node is an instance in your project. For example, 3D & 2D instances, lights and cameras are all nodes. Detailed information about nodes can be found at the Urho3D wiki.
Just as all other 3D models and/or 2D sprites in your scene, these crates and the pallet are nodes. In the Inspector, the first component seen is the “Node” component which contains the name, position/rotation/scale values and prefab options for the selected node.
In the Atomic Editor
In the Hierarchy, click on the “Create” button and click “Node”. An empty node will appear in your scene. To add a 3D mesh to this node, add the StaticModel component to this node as well.
With scripting
JavaScript:
var newNode = Atomic.game.scene.createChild("nodeName");
C#:
var newNode = Scene.CreateChild("nodeName");
Home | Copyright (c) 2014 - 2017 THUNDERBEAST GAMES LLC