- Home /
Question by
M-Mahad · Jul 18, 2016 at 06:32 PM ·
script.controllerdirection
How can I make my player stay in the directions i have assigned to it?
Okay so i have made a player character who upon pressing the arrow keys,turns in that direction(note: he does not move).however,when the key is lifted,he keeps returning to the default direction he was in before game initialization.How can i make him stay in a direction when I press an arrow key?
Comment
Your answer
Follow this Question
Related Questions
Objects Rotation to modify Objects transform velocity/Direction of travel 1 Answer
Climbing stairs and climbing on a slide 0 Answers
How to Convert dir = (a.transform.position - b.transform.position).normalized; to Degrees ? 1 Answer
How do I disable player input action map and enable the UI action map? 4 Answers
Walk to camera direction 0 Answers