Author Topic: Using a raycast  (Read 870 times)

How would i make a weapon fire a raycast rather than a projectile, yet still let it have all the properties of i projectile. I want to know because i have heard that a raycast can be instant.

isn't ray casting something that makes a brick not able to have projectiles go through it? its not a projectile itself.....

That's not quite what he's talking about

IIRC the v8 portal gun used raycasts, so if you can get your hands on that, the script might be useful

isn't ray casting something that makes a brick not able to have projectiles go through it? its not a projectile itself.....
Hint: don't post in coding help if you aren't a scripter.

isn't ray casting something that makes a brick not able to have projectiles go through it? its not a projectile itself.....
/facepalm


So by raycast you mean instant speed. Heres an idea just take a gun and amp the speed up so high it might as well be instant.

There is a speed limit on projectiles since v9.