constrain random bounce on a given plane

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
Adam Kesher
Posts: 19
Joined: 24 Oct 2012, 09:38
Location: Dijon, France

constrain random bounce on a given plane

Post by Adam Kesher » 25 Mar 2013, 09:08

Hey everyone
I've been wondering lately, is there a way to constrain the "randomness angle"
in the Bounce Off Surface node to a given plane ? For example to allow particles
to bounce only on the XZ plane but still in a random direction.
I've dug a bit into the Bounce Off Surface node and I've seen the random stuff
was handled by a randomize by cone node, maybe the trick is to turn this "3D"
cone into a 2D one in there, but I have to admit the whole stuff is beyond my
understanding so far.
Thanks in advance

cheers