Laser Redirection Limit
For anyone interested, turns out that there is a limit to how many times a laser can be redirected through refelctive cubes. The limit appears to be 29 redirections, after that it just doesnt redirect off another cube if it hits it. Just thought that might be useful information to have out there, because I couldnt find any reference to it.
And in case youre wondering NO the player does not have to use 29 cubes in my map, that would be horribly inhumane. I was actually doing this:
Other then that: did you take in account the distance between the cubes? I believe there is a maximum radius where the laser still works but I could be mistaken. If it is indeed 29 it's useful information but a map like that 
To elaborate, I wrote:
? ----- ?----------------- -----------? ----- ?
? ( O ) ?|]????????????[|? ( O ) ?
? ----- ?----------------- -----------? ----- ?
----?
----?
----?
----?
----?
-?===?
? ----- ?
?-------?
See? No laser jumping out...
FourthReaper wrote:
So... How come that when you place two pivot cubes facing each other, one receiving a laser, they dont eventually shoot through one, but instead keep it contained? Hard-coded?
To elaborate, I wrote:? ----- ?----------------- -----------? ----- ?
? ( O ) ?|]????????????[|? ( O ) ?
? ----- ?----------------- -----------? ----- ?
----?
----?
----?
----?
----?
-?===?
? ----- ?
?-------?See? No laser jumping out...
Well if the original post is to go by, they will redirect the laser between them 28 times... just keep it bouncing back and forth... ...
RustyDios wrote:
FourthReaper wrote:So... How come that when you place two pivot cubes facing each other, one receiving a laser, they dont eventually shoot through one, but instead keep it contained? Hard-coded?
To elaborate, I wrote:? ----- ?----------------- -----------? ----- ?
? ( O ) ?|]????????????[|? ( O ) ?
? ----- ?----------------- -----------? ----- ?
----?
----?
----?
----?
----?
-?===?
? ----- ?
?-------?See? No laser jumping out...
Well if the original post is to go by, they will redirect the laser between them 28 times... just keep it bouncing back and forth... ...
No, it's probably hard-coded that way to prevent having to calculate 28 of the same direction and start getting shitty performance.
Anyway, 29 is a weird number... most things in game engines are multiples of 2. I guess it's 30 counting the laser origin but that's still a weird number to cap at... the game must crash right at 31 or something haha...
FourthReaper wrote:
So... How come that when you place two pivot cubes facing each other, one receiving a laser, they dont eventually shoot through one, but instead keep it contained? Hard-coded?
To elaborate, I wrote:? ----- ?----------------- -----------? ----- ?
? ( O ) ?|]????????????[|? ( O ) ?
? ----- ?----------------- -----------? ----- ?
----?
----?
----?
----?
----?
-?===?
? ----- ?
?-------?See? No laser jumping out...
Because after 29 redirections the laser doesnt just go through the cube, it just treats it like a normal solid object, that is stops and sparks. Why there arent any sparks, however, i would assume is because of hard coding though.
And Kaleido, youre right about it being a weird number, I would have thought 32 would be more appropriate too....
chickenmobile wrote:
I would have thought that they would have made it so then cubes can only redirect a laser once.
Simple soloution sounds correct.

Will report when I did that.