Particle Collision?

Okay, i wanna make particles, and i think of two ways of collisions:

  1. Raycast
    Just raycast from particle vector, to particle velocity vector, if collide we reflect velocity and apply gravity.
  2. Touched
    Uses object/mesh info, and if object touched, we reflect velocity, and add gravity

Which one is better, and why?

A Ray will always be more accurate. Touched events are a bit hit and miss particularly with high velocity objects.
Why?, A Ray will see the intercepting part, whereas the Touched event relies upon far less accurate collisions being detected between parts.

Oh, okay, thanks! Will make it with raycast, maybe some experimental methods

It isn’t possible to raycast from a particle’s position since particles are handled internally by the physics/rendering engine which is written in C++.

im not about roblox built-in particles

1 Like