How to make bullet hit particles look in the right direction?

Using fastcast I made a gun system which shoots bullets, and once they hit something, particles spawn and move into the “opposite” direction the bullet fired at.

To explain it better heres a small illustration:

image

Now, how would I go about getting the direction the particles fire at?

I thought about reflecting the direction the bullet, but I don’t know if this is the ideal approach and also don’t know how to program it

1 Like

You get the surface normal then you could use the incidence ray to make a reflected ray. The normal is a raycast parameter and you can work out the angle you are shooting at too.