Given it's not always obvious where your gaze is hitting the ground plane, we'll now add a cursor to the scene. It's really easy because what we've been doing is moving around an invisible, empty WalkTarget object. If we give it a mesh by using the following steps, it'll be visible:
- In the Hierarchy panel, select the WalkTarget object.
- Right-click on the mouse and navigate to 3D Object | Cylinder. This will create a cylindrical object parented by WalkTarget. (Alternatively, you can use the GameObject tab on the main menu bar, and then drag and drop the object onto WalkTarget.)
- Ensure that we're starting with the reset values of transform by clicking on Reset from the gear icon menu in the Transform pane.
- Select the ...