-
Notifications
You must be signed in to change notification settings - Fork 19
Description
As is, we have to choose between Lasers bouncing off of objects and ignoring objects. What if I want for lasers to bounce off of mirrors and collide with walls? As is, it seems like that's not possible.
I had assumed that this limitation was as intended, however this creates another issue:
Imagine this scene:
[Mirror] [Block] <=[Laser]
Mirror is part of the group "reflects" which Lasers bounce off of. The Laser sees that it doesn't bounce off the block. The displayed ray, however, renders it's full length and does not collide with the mirror/wall.
See attached images. One of them shows what happens when the laser collides with something in a bounce group, one shows what happens when it does not.
I've made some progress on a fix for myself, but I've gotten a little lost in your code trying to figure out the logic for adding points to the line. Would love to see an update that fixes this, but I will continue working on it on my end and post an update if I find a full fix.