Please or Register to create posts and topics.

Riding cubes.

PreviousPage 2 of 2
spongylover123 wrote:
Does anyone know how to add a cube throwing function? Like in portal when your holding a cube and then you click the left mouse button and it throws.

Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?

Mostly lurking
beecake wrote:
spongylover123 wrote:
Does anyone know how to add a cube throwing function? Like in portal when your holding a cube and then you click the left mouse button and it throws.

Maybe have a trigger_push parented to the player, or cube, and a game_ui OnAttack1; Trigger_push; Enable?

It doesn't drop the cube, but maybe I can bind or alias it to E

Sorry for the double post, but I encountered another problem, when triggering gravity to enable the cube goes up and knocks me down to the floor.
Is there a way around this, I can't change the trigger_push's force below 90 because If I do, the cubes won't rise, instead, float.

PreviousPage 2 of 2