Hello everyone ! I'm trying to create a sort of mini-game in which a beam is reflected by lenses and it's easy to create the first beams but I don't know why, I have a problem with the "create" action. Indeed, it creates several instances of a beam sometimes but it's not supposed to be the case.
Here is a link to get the .c3p file.
The source of the beam is the black triangle in the middle. I can rotate it and I can rotate each lens in order to redirect the beam towards another lens.
When a beam reaches a lens, this lens has a boolean "EmitsBeam" activated and, thanks to it, the lens is supposed to emit a new beam but I'm totally blocked ! Could someone help me ?
Sometimes there is one beam emitted from one lens so it's OK, but sometimes no beam is emitted and other times one lens is emitting multiple beams, which is not supposed to happened.
Thanks a lot.