How to simulate “walking forward” in a WebAR experience with SLAM tracking?

In WebAR projects using 8th Wall + SLAM, the camera pose is fully controlled by tracking. What’s the best practice if I want to simulate a user “walking forward” (e.g. entering a portal) without them physically moving?

  • Should I animate the camera position directly?

  • Or is it better to animate the world/scene instead?

  • Can/should I temporarily pause and resume tracking?

  • Is there a recommended way to smoothly push the user “just inside” and then resume normal tracking?

Looking for general guidance or patterns other devs use to achieve this effect.

Your best bet is to move the world content closer to the camera in this case. Also yeah you can totally turn off SLAM tracking momentarily, by changing the Camera type at runtime, however it will look strange as the Camera feed will go away and the engine will need to restart.

1 Like