0 like 0 dislike
When my particles collide with a mesh the collision works, however, is it possible to get the normal of the face/surface from the object that the particle collided with? Need it to work out what was the particle should be facing.
asked by Jamesking96 (900 points)

1 Answer

0 like 0 dislike


You can take a look at this page: https://wiki.popcornfx.com/index.php/Particle_tutorial_manual_scene_intersect
It will show you how to use the 'scene.intersect' script function, basically it will return you a float4 containing the normal of the hitted triangle, and the hit distance. 


answered by Maxime (5.3k points)