[Solved] Cube Physics

Avatar
Xtreger
216 Posts
Posted Mar 05, 2014
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

Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Mar 05, 2014
Replied 7 minutes later

Xtreger 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?

Sorry that I forgot to let you know by pm before as I said I would! >.<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 (mostly for the case of your map I tested) you make the trigger brush high enough to affect the cubes you expect to stack in a row :wink:

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.