Create Keyboard Movement Mechanics with C# in Unity

27 ratings
Offered By
Coursera Project Network
1,766 already enrolled
In this Guided Project, you will:

Set up objects with Rigidbody and Collider components and implement player movement mechanics

Detect and process keystrokes with Input.GetKey()

Create a simple follow-camera with adjustable zoom

Clock2 hours
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this two-hour, project-based course, you'll learn how to make your game's character move, jump, sneak and run using different keys on your keyboard. You'll also learn how to set up the camera to have it follow your character when it moves around your game's environment, and enable it to zoom in and out for better player experience.

Skills you will develop

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License Activation

  2. Setting Up the Scene and Physics

  3. Move a Player with WASD Keys

  4. Make a Player Jump with the Space Bar

  5. Add Speed-Modifier Keys for Sneaking and Running

  6. Create Configurable Camera-Controller to Follow a Player

  7. Create Camera-Zoom Feature

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.