x


Unity Strafing Script

I am looking for a script that will allow the character to run and jump, but not rotate. Instead I want the character to be able to move across the screen while still facing forward. Can anyone help please?

more ▼

asked Jan 29 '12 at 08:16 PM

outsiderman411 gravatar image

outsiderman411
16 2 3 6

(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

Use the example script from CharacterController.Move: it moves left/right/front/back and jumps, but do not rotate. NOTE: This script is intended to be used with a CharacterController, obviously.

more ▼

answered Jan 29 '12 at 08:21 PM

aldonaletto gravatar image

aldonaletto
41.5k 16 42 197

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1368
x1044
x224
x10

asked: Jan 29 '12 at 08:16 PM

Seen: 1647 times

Last Updated: Jan 29 '12 at 08:21 PM