Copyright VirtualSim 2004-2020 - All rights reserved
Adding Entities
When adding entities to a scenario, two options must be chosen:
1- the entity is driven by vsTASKER
2- the entity is driven by Titan.
Add a basic or catalog entity to the scenario:
Catalog: predefined entities already setup to work with Titan, or default
Template embedded entities (if any) attached to the loaded template (if any).
Import, from file (shared directory), if any.
Once the entity is on the map, select it and go to the Model panel to add and setup the TitanEntity component:
The Profile value should be the type name defined on the Titan Entities window:
If the entity need equipments or weapons, list them with their Titan type name. Either refer to the documentation of Titan or find the name in the appropriate window or text field in Titan.
For the moment, this part is the most difficult and frustrating as finding the name for an entity or equipment is not obvious. Parse the /titan/packages directory to find some of them. Open the entdef file of each entity and look for the entityKeyName to use.
Driven by vsTASKER
Because we are using a vsTASKER motion dynamic (HeloDyn), we need to add the TitanDirectDyn component (see the Development Guide for more information on it). This way, the DirectDyn component will update the position of the Titan entity in real-time.
Driven by Titan
In case we want Titan dynamics to be used, we must add the ExtDyn component combined with the TitanWaypointDyn one. This way, vsTASKER will by driving entities by assigning waypoints and let Titan does the computation. The TitanWaypointDyn component will give instructions to Titan and update the position and attitude of the local entity in real-time, from Titan engine.