I am trying to create a Lagoa simulation, where collisions with certain objects (let’s call them A & B) create a phase shift. At the initial emission you’d have Material 1, at collision with Object A, you get Material 2 and at collision with Object B, you’re back at Material 1. If I make both Object A and Object B into Passive Bodies in the Lagoa Simulate Multiphysics node, the collision themselves are handled correctly, obviously, but I can’t seem to figure out, which object the Lagoa particles are currently actually colliding with.
So the question is: how would I go about finding out which of my Passive Bodies the Lagoa particles are actually collide with?
(A simple 0 for no collision, 1 for Object A, 2 for Object B would do)
edit: I hope I'm not having my own little RTFM moment here