1

How to place a portal scene inside another portal scene? I have no found such kind of example or documentation on ARCore site for android.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
Darshan Mistry
  • 3,294
  • 1
  • 19
  • 29

1 Answers1

0

It's as simple as 123. Put walls surrounding inner portal inside outer portal. The trick is as following: these walls must be invisible outside and must be visible inside. For that you need to make these walls single-sided. Doors of an outer portal and of an inner portal have to be single-sided as well and rotated 180 degrees about Y-axis (their normals must be pointing in the opposite direction).

Look at this useful SO post: How to create a Portal effect in ARKit?.

enter image description here

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220