Local control for Player

Variables required for control of the Player.
Movement method using global axes.
Pressing the A and D keys only, the global player moves on the global x axis, regardless of perspective.
Pressing the A and D keys only, the player moves left and right relative to the camera’s perspective.

--

--

--

Unity Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

AWS IAM Deep Dive. Chapter 4: Policy Evaluation Logic, Permission Boundaries, Identity Federation

OVERCOMING MY FEAR OF CODING

Spring boot 2 with ehcache 3 (jcache) using h2 Database

Hooks vs Background (Cucumber)

Organisational benefits of Kubernetes

How Save Time on Tag Management and Get Back to the Real Work

Projects and Progress!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hal Brooks

Hal Brooks

Unity Developer

More from Medium

Enemy Waves with Scriptable Objects

Damage VFX using Animated Sprites in Unity

Learning Unity — How To Make A Loading Screen

Unity — new input system create an action map