Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.03k stars 1.13k forks source link

How to view game in in 2nd camera that is not the AR Camera #710

Closed jameslin101 closed 3 years ago

jameslin101 commented 3 years ago

Hi,

I'm looking for a way to switch to a 2nd camera view while in the using the AR Camera to do body tracking with ARKit on iphone 12. Is this possible? I tried placing the 2nd camera with a higher priority but the game is still showing the view of the rear facing camera

My goal is to place the robot from ARFoundation 3DBodytracking into a game controlled by body tracking without seeing the AR Camera stuff on screen.

Thanks!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ti-hardikshah commented 3 years ago

Just use layer , It should work definitely, remove a layer from the AR camera and on the second camera depth only with only one selected layer.

Body tracking working in iOS only using AR kit.

tdmowrer commented 3 years ago

My goal is to place the robot from ARFoundation 3DBodytracking into a game controlled by body tracking without seeing the AR Camera stuff on screen.

If you don't want to see the pass through camera video, simply remove the ARCameraBackground component from your camera.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.