x


Angle gun 2D

Hello, I am making a 2D game with unity. And I want my gun too look at the mouse position(there is a mouse object). Also, I have a shoot that moves into the mouse object, can I compare the Vector3.normalized of the shoot's mooving to angle in the z?

more ▼

asked Apr 10 '12 at 10:45 AM

tombog gravatar image

tombog
0 1 1

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

0 answers: sort voted first
Be the first one to answer this question
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:

x1034
x446
x286
x16

asked: Apr 10 '12 at 10:45 AM

Seen: 492 times

Last Updated: Apr 10 '12 at 10:45 AM