Hey guys,
I would like to know how i can avoid backface collisions on pops ?
I’m trying with RayPop and hit normals, but i stuck when i want to compare the two normals..
I have attached an example based on the snippets.
Maybe there is a function in mathmix ?
Thanks,
Arnaud
Collision.tox (9.5 KB)
Hello @Artcraft
You can add extra steps to the Math Mix POP to check the dot product between the particle velocity and the mesh normal. Based on the result’s sign, you can determine on which side of the mesh the particle is. From there, you can add an extra condition to check if a particle should bounce on the surface.
OnSideCollision.toe (7.3 KB)
Ah it’s a dot product…
i’m close to my limit of understanding maths..
thanks a lot !
Arnaud