Portal funneling

From Source Entities
Jump to navigation Jump to search

Portal funneling is a game mechanic in the Portal series. It automatically corrects the positions of players and objects moving at a high speed towards a portal, so that they go perfectly into the portal rather than potentially hit the rim, much to the player's annoyance. It also appears to sometimes affect trajectory after the object goes through a portal. Note that players must be looking at a portal when funneling into it.

In Portal, funneling can be toggled in the options menu. In Portal 2 it can only be disabled by console command.

Related console commands and variables[edit | edit source]

ConVar/CommandParameters or default valueParameter TypeEffect
sv_player_funnel_into_portals10 disables, 1 enablesEnables funneling.
P2.pngportal_funnel_debug00 disables, 1 enablesPrints debugging info to the console when funnel code is triggered.
P2.pngspeed_funnelling_enabled10 disables, 1 enablesEnables funneling when running on propulsion gel. (Note that the command spells "funneling" incorrectly.)
P2.pngsv_player_funnel_gimme_dot0.9arbitrary number [Confirm]When set to higher than 1, player trajectory will never be forced to be perpendicular to the portal after crossing it.
P2.pngsv_player_funnel_height_adjust128World unitsWhen the player is this far above a portal on the ground, funneling will occur. Below this height, none will happen.
P2.pngsv_player_funnel_snap_threshold10.0To do: Effect description.
P2.pngsv_player_funnel_speed_bonus2.0To do: Effect description.
P2.pngsv_player_funnel_well_above256.0To do: Effect description.
P2.pngsv_props_funnel_into_portals10 disables, 1 enablesEnables funneling for objects such as prop_weighted_cubes.
P2.pngsv_props_funnel_into_portals_deceleration2.0To do: Effect description.