Question by
Schagg · Oct 27, 2020 at 11:58 AM ·
cameraaugmented-reality
Camera collision behaviour in AR
Hi,
I am working on an AR game where the player interacts with 3D scenes. Currently, I am trying to stop the player from going through walls. By the nature of AR, I cannot restrict the camera's rigid body and am trying to find a practical way to stop the player from walking through objects (f.e.: peeking in a chest).
I tried moving the objects with the camera while displaying an alert "Move back" and then resetting the object's position, which does not seem to be practical.
Does anybody have an idea on how to approach this differently?
Comment