Dynamic gravity.

Avatar
Doctor_GLaDOS
21 Posts
Posted Oct 19, 2014
Hi !
How can i make objects "fall" into other objects or entitys, Like a black hole.
I mean effect like in the Into the Multiverse part 1.
Or even ending of portal 1
Advertisement
Registered users don't see ads! Register now!
Avatar
CamBen
973 Posts
Posted Oct 19, 2014
Replied 8 minutes later
In Into the multiverse part one, I'm pretty sure fracture used a trigger_vphysics_motion with no properties set except to scale the gravity to 0, and a point_push with a force of -200 or something. I haven't decompiled it so I'm just guessing. Portal 1 used a trigger_push/trigger_vphysics_motion to push the player upwards, and a point_servercommand with an input to command +jump and -jump so the player is lifted into the air.
Avatar
FelixGriffin
2,680 Posts
Posted Oct 19, 2014
Replied 9 hours later

CamBen wrote:
...and a point_servercommand with an input to command +jump and -jump so the player is lifted into the air.

Ah, is that how they did it? I'd been wondering about that.

In Portal 2 you can use a trigger_catapult to move the player very slightly instead.

Advertisement
Registered users don't see ads! Register now!
Avatar
CamBen
973 Posts
Posted Oct 20, 2014
Replied 3 hours later

FelixGriffin wrote:
CamBen wrote:

...and a point_servercommand with an input to command +jump and -jump so the player is lifted into the air.

Ah, is that how they did it? I'd been wondering about that.

In Portal 2 you can use a trigger_catapult to move the player very slightly instead.

Yea the lack of trigger_catapults in portal 1 is going to make my faith plates act a bit weird