[Solved] Cube Physics
Quote from Xtreger on March 5, 2014, 6:01 amThere were a couple of tweaks I want to make to a map. Firstly there's a glitch that if a reflector cube redirects a laser into a catcher, it freezes and sometime it can just float in mid-air while redirecting a laser. How can I prevent this?
Secondly, one can place a cube midway through portals, so that it's sticking out half-way from one portal and half-way through the other. It's not a glitch but I still want to prevent it. Is there a "force" that I can add to the portals so that the cube is pushed out if we try to partially place it through a portal?
Thanks
There were a couple of tweaks I want to make to a map. Firstly there's a glitch that if a reflector cube redirects a laser into a catcher, it freezes and sometime it can just float in mid-air while redirecting a laser. How can I prevent this?
Secondly, one can place a cube midway through portals, so that it's sticking out half-way from one portal and half-way through the other. It's not a glitch but I still want to prevent it. Is there a "force" that I can add to the portals so that the cube is pushed out if we try to partially place it through a portal?
Thanks

Quote from josepezdj on March 5, 2014, 6:09 amXtreger wrote:There were a couple of tweaks I want to make to a map. Firstly there's a glitch that if a reflector cube redirects a laser into a catcher, it freezes and sometime it can just float in mid-air while redirecting a laser. How can I prevent this?[spoiler]Sorry that I forgot to let you know by pm before as I said I would! >.<[/spoiler]For this the smoothest and better workaround is to use a trigger_push with the push direction set to downwards and the push amount set to only "1". Make sure that [spoiler](mostly for the case of your map I tested)[/spoiler] you make the trigger brush high enough to affect the cubes you expect to stack in a row
Xtreger wrote:Secondly, one can place a cube midway through portals, so that it's sticking out half-way from one portal and half-way through the other. It's not a glitch but I still want to prevent it. Is there a "force" that I can add to the portals so that the cube is pushed out if we try to partially place it through a portal?Well, I guess you could use a couple of prop_portals in your map and parent some trigger_pushes to them pushing outwards from the portal, but I never tried this before.

Well, I guess you could use a couple of prop_portals in your map and parent some trigger_pushes to them pushing outwards from the portal, but I never tried this before.