x


Gun Shooting Problem

I have two weapons in my game, a missile launcher and a AK47. whenever either of them shoots, the bullet isnt in the correct rotation. is there something i can do to fix this? In short terms, when I click Fire it shoots, the way I want it, but its sideways, or vertical, not the way I want it.

more ▼

asked Jun 20 '12 at 09:55 PM

Bruno Fludzinski gravatar image

Bruno Fludzinski
104 9 22 28

There is a script in unity called rotation constraint this script you can change it so it has a surtax rotation and will not change ever. you can change the setting in the properties of this script. Look in components then scripts it should be there.

Jun 20 '12 at 10:17 PM Chris12345
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

There is a script in unity called rotation constraint this script you can change it so it has a surtax rotation and will not change ever. you can change the setting in the properties of this script. Look in components then scripts it should be there.

more ▼

answered Jun 20 '12 at 10:19 PM

Chris12345 gravatar image

Chris12345
276 4 22 44

Please hit the check mark if i have answer your question

Jun 21 '12 at 10:28 PM Chris12345
(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:

x2249
x461
x320

asked: Jun 20 '12 at 09:55 PM

Seen: 354 times

Last Updated: Jun 21 '12 at 10:28 PM