- Home /
Javascript for Character Controller
Im new to unity and i'm not sure how to make my character move in a certain way with js: i want my character to continue to go forwards, backwards, left, or right when each key is pressed. In other words, when the left key is pressed, the character will keep a steady speed going to the left. Can anyone help me write this in javascript?
Answer by KyleHickman · Dec 08, 2011 at 01:50 AM
Hey! I would recommend checking some of these things out to get you started!:
Answer by jahroy · Dec 08, 2011 at 03:08 AM
There is a ton of documentation on this.
Check out the UnifyWiki, where you will find a bunch of example character controller scripts.
Your answer
Follow this Question
Related Questions
Trouble converting player controller from JS to C# 1 Answer
Character Controller in Javascript 0 Answers
Mathf.Clamp Problem with Character Controller Script 0 Answers
Help with CharacterController rotation 1 Answer
Stay on top of the ground 1 Answer