Difference between revisions of "Portals on Moving Surfaces"

From Valve Developer Community
Jump to: navigation, search
(Created page with '{{stub}} 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 …')
 
m (Moving portals act differently)
Line 2: Line 2:
 
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.
 
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}}
 
{{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. Most objects will not travel through them, including players and physics objects.}}
 
[[Category:Portal 2 Tutorials]]
 
[[Category:Portal 2 Tutorials]]

Revision as of 20:38, 4 July 2011

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. Most objects will not travel through them, including players and physics objects.