coreDS™ Unreal – Blueprints Library

Mapping – Must read before you begin

coreDS™ defines the concept of “internal object representation”. It was created to allow different configurations (mappings) compatible with a wide variety of simulators, without having to change the underlying implementation.

An internal object representation is simply a name (string) by which your objects, interactions, messages and properties are locally named. These names have no direct relation to, let’s say, a DIS Entity State PDU location or an HLA RPR FOM Spatial attribute.

For example, say you have an object in Unreal that represents a “minotaur” monster with a single property representing its ugliness. Your local object representation would then be “minotaur”, with a local property “ugliness”.

Using the coreDS™ UIs, you then link “minotaur” to the DIS Entity State PDU or the HLA RPR FOM BaseEntity, and “ugliness” to the corresponding HLA attribute or DIS field.

If your local representation needs some conversion before being sent to the distributed simulation framework, you can use the built-in LUA interpreter to take care of the conversion at runtime.

How to

The following sections cover the most common use cases.

How to send a message (interaction) to the simulation

How to create an object

 

When using the “Update Object” Blueprint node, the object is created on the first update.

How to discover and receive object updates

To receive new information about an object, you must register a custom event for a given ObjectRepresentation (“MyObjectRepresentation” in the example below).

Decoded values are received in a TArray of pairs (parameter name, value). “Object Name” is the local object name (in the HLA world, this is the “Object Instance Name”).

How to receive a message

To receive a message, you must register a custom event for a given MessageName (“MessageName” in the example below).

Decoded values are received in a TArray of pairs (parameter name, value).