Lesson 5: Player Movement and Locomotion
Locomotion can make or break your VR game. Great movement feels natural, predictable, and comfortable. Poor movement causes nausea, disorientation, and quick player drop-off. In this lesson, you will build a movement system that gives players control while respecting comfort limits.
Learning outcome
By the end of this lesson, you will:
- Implement teleport and smooth locomotion options.
- Add snap turning and comfort vignettes.
- Build movement profiles for different player preferences.
- Validate locomotion quality with repeatable in-headset tests.
Step 1 - Define your locomotion model
Start with explicit movement modes:
- Teleport locomotion for maximum comfort.
- Smooth locomotion for advanced players.
- Hybrid mode so players can switch mid-session.
Do not force a single movement type for all users.
Step 2 - Implement teleport locomotion first
Teleport is usually your baseline comfort option.
Teleport setup checklist
- Project arc to valid floor/nav areas.
- Show destination marker with orientation preview.
- Block teleport on unsafe surfaces.
- Add short fade-in/fade-out for transition comfort.
This gives motion-sensitive users a reliable default.
Step 3 - Add smooth movement safely
Smooth locomotion should be opt-in and tunable.
Recommended defaults:
- Walk speed:
1.4-1.8 m/s - Optional sprint cap:
2.2-2.8 m/s - Acceleration smoothing: enabled
- Head-bob: disabled in VR
Keep your first version conservative, then tune with testing.
Step 4 - Add snap turning and comfort assists
Continuous turning can trigger discomfort quickly for many players.
Use:
- Snap turn angle:
30°or45° - Turn cooldown:
100-200ms - Optional vignette during movement
- Seated/standing mode toggle
Offer these as settings, not hidden defaults.
Step 5 - Build movement settings UI
Your locomotion system is incomplete without clear options.
Minimum settings panel:
- Locomotion mode (Teleport / Smooth / Hybrid)
- Turn type (Snap / Smooth)
- Turn angle slider
- Movement speed slider
- Comfort vignette intensity
Store preferences so players do not reconfigure every launch.
Troubleshooting
Issue - Players report motion sickness quickly
Cause: movement speed too high or no comfort assist.
Fix: lower speed, default to teleport, enable vignette.
Issue - Teleport feels inconsistent
Cause: invalid destination rules or noisy ray checks.
Fix: tighten teleport layers and add clearer visual feedback.
Issue - Turning feels unresponsive
Cause: excessive input deadzone or turn cooldown.
Fix: reduce deadzone and tune cooldown range.
Pro tips
- Test locomotion with both experienced and first-time VR players.
- Run 15-minute comfort sessions, not only 2-minute checks.
- Separate movement tuning per game genre (puzzle vs action).
- Track settings usage analytics to guide default presets.
Mini challenge
Create a locomotion test arena with:
- Tight corridors and open spaces.
- Vertical movement points and obstacles.
- Teleport-only and smooth-only routes.
- A settings panel for live comfort tuning.
Success criteria:
- New players complete the arena without stopping for discomfort.
- Advanced players can switch to smooth mode and keep precision control.
Recap
You now have a comfort-focused locomotion stack:
- multiple movement modes,
- tunable turning behavior,
- and persistent accessibility settings.
This is the foundation for exploration-heavy VR gameplay.
Next lesson
Next up is Lesson 6: Object Interaction and Physics, where you will combine locomotion with grab systems, collision feedback, and interaction depth for full gameplay loops.