x


How do I make a raycast for a particle

Okay, so I have been looking forever. I have a gun, with a muzzle flash, and a gunshot sound, but I want there to be a particle to be projected directly in front of the player, where the crosshair is. How can I do this in Javascript?

more ▼

asked Nov 30 '10 at 10:32 PM

Kazaskater gravatar image

Kazaskater
80 16 16 23

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

1 answer: sort voted first

Here's a very similar question I put an answer on just a few minutes ago: http://answers.unity3d.com/questions/29653/how-do-i-make-a-gun

more ▼

answered Dec 01 '10 at 06:17 PM

Rennat gravatar image

Rennat
664 5 8 18

(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:

x3731
x1528
x446
x318
x129

asked: Nov 30 '10 at 10:32 PM

Seen: 1374 times

Last Updated: Nov 30 '10 at 10:32 PM