How to Move a Player in DOTS XR

This will take you about 20 minutes in prep time if you don't have Unity set-up, and 30 minutes in coding and debug time.

Click Here for DOTS Tutorial

Stop struggling with the limited documentation. Follow this step-by-step tutorial, "How to Move a Player in DOTS XR"

Full workflows and code to programmatically move a Player from user input

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to programmatically move a Player from user input. Once you've coded along and fully finished the How To Move a Player tutorial, you will be able to programmatically move a Player from user input.

Click Here for DOTS Tutorial

High-Level steps to Move a Player:

Number 01

create the player prefab and give it an authoring component

Number 02

create the InputMovementSystem to take in "WASD" and mouse input

Number 03

adjust the rotation and velocity of the Player entity with user inputs