← All interactive demos

Does the character stay put when you move the phone? (Our own AR model)

The white ring is the real spot on the floor. As the camera (the phone) moves, we compare whether the character's feet stay on the ring or drift away. The floor height and the camera's position and direction are treated as already known in this model; it does not reproduce what Pokémon GO does inside.

"Drift" is the gap between the character's feet and the real spot on the floor (the centre of the white ring), converted to a distance on the floor (height difference not included). It is a value from this model, not a measurement from a real phone or a game's performance figure.

Try in this order: ① swing with "Stick to the screen" → ② go back to "Draw with the current camera" → ③ compare 2 and 30 updates with "Update less often" → ④ set the speed to 3× → ⑤ raise the height.

Pokémon GO official help (AR experience) / Google ARCore fundamentals

About this model

This is our own model, used in the video "Why does Pokémon GO AR keep Pokémon on the ground?" on the YouTube channel "How Games Are Made" (ゲームのつくり方の歴史). AI was used to make the diagrams and code, and the facts were checked against sources by the creator. No game footage or official assets are used.

What this model shows

It compares ways of drawing to show why a character seems to stand on the same spot on the floor even when you move the phone. The white ring is the real spot on the floor, and you watch whether the character's feet stay on the ring or drift away as the camera (the phone) moves.

How to try it

With "Stick to the screen", swing the camera: the character only remembers its position on the screen, so it drifts away from the floor. Go back to "Draw with the current camera", and it is redrawn from its floor position every time the camera moves, so it stays on the ring. "Fix the direction only" ignores where the camera moved, and "Update less often" uses old direction data; both drift only while you are swinging. With 30 updates per second the drift gets smaller, and a faster swing or a taller character makes it bigger.

Key idea

To keep something standing on the same spot on the floor, you do not freeze the picture on the screen. You redraw the same spot from the current viewpoint every time the camera moves, and if the direction data is old, it drifts by that much. The floor height and the camera position are treated as known in this model; the values are not measurements from a real phone.