Array and structures

  • this is the data:

The A column needs to be added as we need unique Row Names for the DT. Everything else can be jumbled / missing, including Seconds

  • imported using the very appropriately named sTimeStructMess :innocent: :

image


So I was thinking I need unreal to do the “tidying up” of the csv input.

  • called sActorLocationAtSecond below:

image

  • it becomes a part of mSecondsMap:

It describes which actors are where at each second present in the csv; and gets populated like so:

The temp arrays are necessary because reasons.


To use it:

The actors could be something as simple as a cube for argument sake.

If we knew how the actors should be referenced, it’d be quite possible to incorporate the references directly into mSecondsMap, rather than fetch them via whatever other methods is necessary. Here it’s a hard-coded map:

1 Like