Is it possible to create a 360° Video from drivers perspective in a driving simulator (while driving)

Hi everyone,

I am trying to find out if it is currently possible to generate a 360° video from drivers perspective while driving in a driving simulator inside unreal engine. So that afterwards you can watch the recorded 360 video in VR and it mimics autonomous driving.

I found out how to do 360° Videos using Panoramic Rendering and Adobe Media Encoder by creating a Scene and using a cinematic camera as reference. The tutorial is here: https://www.youtube.com/watch?v=SpkP1XCF_mE&t=411s

However, it seems like I can’t use that for the driving simulator, because in this case you need to record while in Play mode and the camera has to be attached to the vehicle and move with the vehicle.

Does anybody know how this could be done or give me directions where i should look into?