NVlabs / FPSci

Aim Training Experiments
Other
70 stars 23 forks source link

Fix for spawning destination targets at their first destination #298

Closed bboudaoud-nv closed 3 years ago

bboudaoud-nv commented 3 years ago

This branch adds support for an issue in which destination targets are not spawned at the correct location initially. The primary intent of this fix is allowing a simple world-space static target to be created using a single-point destinations array (as opposed to a world-space parametrized target with a zero width spawn bounding box):

targets = [
        {
            id = "point"; destSpace = "world";     
            destinations = [{ t: 0, xyz: Point3(38.75, -1.3, 0.7)}];
        }
...
];

It's reasonable to assume this bug also impacts destination-based targets with more than a single destination that rely on the target to spawn at their first position rather than (0,0,0) initially

Merging this PR closes #297