I’m creating a system there a script on a particle system calls the Emit() function with EmitParams being set. However, particles aren’t flying in the set direction. Their trajectory is always directed closer to the player than needed.
After a lot of debugging I found out what the problem is caused by particles colliding with the ground (terrain object). However, they physically can’t collide with it at start because the origin is too high, the collider’s size is too small and the collider messages don’t register any collisions. Additionaly, particles are destroyed when collide with anything except for each other or player. When i’m setting collisions with ground too, everything works as intended (except for terrain penetrating lasers).
I’ve found a lot of solutions, but I want to find a cause of this bug/my error. Everything is in 3D




