Difference between revisions of "Portals on Moving Surfaces"

From Valve Developer Community
Jump to: navigation, search
m (moved Allowing portals on moving surfaces to Portals on Moving Surfaces: Article is about more than just allowing moving portals.)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{{bug|Portals will display the opening animation a second time if the surface ever stops moving}}
 
{{bug|Portals will display the opening animation a second time if the surface ever stops moving}}
 
{{note|Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.}}
 
{{note|Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.}}
 +
{{note|Placing 2 portals which will collide upon at least one of them moving, if you stand right between them just right, upon the portals' collision, you will be teleported into the void freefalling forever in darkness. As of yet, nobody knows at what point in the void you are transported to or how this is determined.}}
 +
[[File:AB28E2FB3C0E21810A01FA3325AE6C53803B4473.jpeg|thumbnail|left|Portals casted upon a moving surface]]
 
[[Category:Portal 2 Tutorials]]
 
[[Category:Portal 2 Tutorials]]

Latest revision as of 11:19, 22 November 2016

In order to allow portals to remain on moving surfaces set the "sv_allow_mobile_portals" console variable to 1. Use a point_servercommand to do this. Be sure to set it back to zero when you no longer need portals to remain on moving surfaces.

Bug: Portals will display the opening animation a second time if the surface ever stops moving
Note:Portals on moving surfaces behave differently than static portals. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.
Note:Placing 2 portals which will collide upon at least one of them moving, if you stand right between them just right, upon the portals' collision, you will be teleported into the void freefalling forever in darkness. As of yet, nobody knows at what point in the void you are transported to or how this is determined.
Portals casted upon a moving surface