Please or Register to create posts and topics.

[Solved] Cube Physics

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

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?

Spoiler
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
Spoiler
(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 ;)

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.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]