NVlabs / FPSci

Aim Training Experiments
Other
67 stars 23 forks source link

Simplify scene-based player/camera heading #332

Closed bboudaoud-nv closed 2 years ago

bboudaoud-nv commented 2 years ago

Currently the approach to getting the heading of a PlayerEntity from a scene.Any file (which occurs when no spawnHeading is specified in the experiment config scene specification) is quite convoluted and confusing. We should simplify it.

Currently this issue can be demonstrated by loading the default scene (Simple_Hallway.Scene.Any) and observing that regardless of the PlayerEntity heading value the position_az/el reported in the Player_Action table appears to be inherited from the defaultCamera specification and not the PlayerEntity. This should be corrected such that no initial frame should need to be provided for cameras in FPSci scene specifications.