tyFlow Forum
Collision angle - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Collision angle (/thread-4967.html)



Collision angle - Garry - 10-02-2025

Hi

I have a very simple 'explosion' of particles (not PhysX just simple particles) and I want to get the angle of collision with a wall/floor etc so that I can delete an particle that only hits a surface with a glancing blow.

Is this something that Tyflow can do?

I've been trying with Particle Flow and I've had no luck.

I'm a total tyflow newbie and I finding it a bit over whelming to be honest.


RE: Collision angle - tyFlow - 10-06-2025

You can use a Script operator to measure the dot product between a particle's velocity and the normal of the nearest point on a surface - from there you can use the acos of that dot product to compute the angle in radians and use that data to configure particles however you need. Beyond that, there's no built-in way to change particles based on the glancing angle of their collisions...


RE: Collision angle - Garry - 10-06-2025

Hi

Thanks for the reply, however that maybe above my capabilities etc but I'll look into it