PlayMaker Help & Tips > PlayMaker Help

How to make Gun Laser

(1/1)

Ofonna:
hi guys, i thought making a gun laser would require me to fire a raycast every frame and draw a line from my fire point to my hit point the problem is that the raycast seems slow so when i turn its left behind for a couple frames.

what i want is a line drawn from my players gun everyframe to act as a layer

djaydino:
Hi,
Did you change the interval on the raycast action.
if it is 1 it should send a cast every frame.

The reason might be that you are rotating very fast and you see multiple lines.
if so it is not behind in frame but you can see the line draw from the frames before.

Navigation

[0] Message Index

Go to full version