Objects from the Zendir Backend can be created from standard Unreal Editor nodes, such as Spawn Actor from Class. However, it is recommended that you use Zendir Create nodes instead due to complications with Unreal’s method.

WARNING

The following are reasons to avoid Unreal’s creation functions:

  1. The node uses unreal units.
  2. There is no error checking for invalid typing for children.
  3. It requires a spawn parameters struct. This adds another step in the process.
  4. It has an unused parameter in the node.
  5. It will only all Unreal Engine objects and not just simulation objects.

Creating Objects

To add a behaviour, message, model, object or system to the simulation call the respective Create X node and select the desired type. It will also show configurable parameters on the node. Create Object can also create any blueprints that inherit a Universe Object type such as Spacecraft.

image 1.png

image.png

To add a component as a child of an object, simply put the parent as the owner of the node.

image.png

NOTE

If no ‘Owner’ is set, then the object exists as a root object within the simulation. Objects will be attached to the parent of the object and the local position and rotation is relative to the parent (if it exists), or the simulation origin.