Skip to content

Use the new input system to move a single character around the scene, having them dodge obstacles and alternate between walking and running.

License

Notifications You must be signed in to change notification settings

gamedev-resources/point-to-click-with-new-input-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

View the entire tutorial on What Up Games.

Point to click movement with the new Input System & Cinemachine

There are a lot of different types of movements that can be implemented in a game. Point to click is often popular for strategy games, some RPGs, and many adventure games. In this tutorial you'll move a single character around the scene based on where the player clicks their mouse, having them dodge obstacles and alternate between two types of movements - walking and running. A Cinemachine virtual camera will be used to automatically keep the player in focus while they move around the level.

Learning Outcomes

You'll learn many concepts, such as how to:

  • Use a Cinemachine virtual camera to automatically follow the player
  • Configure and hook into the new input system
  • Setup and use the navigation system
  • Rotate towards a direction before moving

Prerequisites

  • You will need Unity 2021.3 LTS or later to follow along.
  • This tutorial assumes you already have basic knowledge of Unity and intermediate knowledge of C#.

About

Use the new input system to move a single character around the scene, having them dodge obstacles and alternate between walking and running.

Resources

License

Stars

Watchers

Forks

Languages