Camera control in an immersive environment

Hello,

I’m playing around with making an fully immersive multiplayer, air to air dogfighting game, but I’m having trouble figuring out how to attach a camera to an entity.

I have a plane that’s controlled with a GamePad. And I want the camera’s position to be pinned to that entity as it moves about space, while maintaining the users ability to look around.

Is this possible?

--

From my understanding, the current state of SceneKit, ARKit, and RealityKit is a bit confusing with what can and can not be done.

SceneKit

  • Full control of the camera
  • Not sure if it can use RealityKits ECS system.
  • 2D Window. - Missing full immersion.

ARKit

  • Full control of the camera* - but only for non Vision Pro devices. Since Vision OS doesn't have a ARView.
  • Has RealityKits ECS system
  • 2D Window. - Missing full immersion.

RealityKit

  • Camera is pinned to the device's position and orientation
  • Has RealityKits ECS system
  • Allows full immersion
Camera control in an immersive environment
 
 
Q