problem with lasers and cubes

Avatar
R0DNEY
22 Posts
Posted Feb 18, 2012
Hy!

I'm not sure there isn't any topic related with this bug, but if there is, i couldn't find it.

My problem is the following:

img

So, if i put reflective cubes and lasers together, quite strange things happen. You can get a cube from the middle of a tower for example without making the upper cube fall down. I don't really understand whats happening, so if someone could tell me how to solve this problem, i would be greatful, because i need this stuff working for my next test chamber.

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Feb 18, 2012
Replied 40 minutes later
That is a common bug. I guess that is happening to you when you grab one cube from below the reflective cube, well, there is a workround for this:

Open the properties for the cube that will be removed from below the reflective ones and set this:

OnPlayerPickup > ["env_portal_laser" name here] > Turnoff
OnPlayerPickup > ["env_portal_laser" name here] > Turnon / after delay 0.15 sec

This way, the laser will stop for 0.15 secs and the reflective cube will fall instead of stay suspended in midair.

Try... I hope that helps

Avatar
R0DNEY
22 Posts
Posted Feb 18, 2012
Replied 13 minutes later
Nice trick, thanks!

:hi5:

Even if you watch the laser when you pick up a cube, you can only see a little blink and if this method works fine with less delay too, even that won't be a problem. Thank you very much!

Avatar
josepezdj
2,386 Posts
Posted Feb 18, 2012
Replied 18 minutes later
You're welcome mate:

I was also helped with that and that's what I have to give!

Avatar
Spam Nugget
492 Posts
Posted Feb 18, 2012
Replied 3 hours later
Another way to solve this problem is to have a trigger push covering the whole area the cubes could be in, with the push direction set to down and the force set to 1.
Advertisement
Registered users don’t see ads! Register now!
Avatar
R0DNEY
22 Posts
Posted Feb 19, 2012
Replied 9 hours later
It sounds simple, i will check it out. Thanks!