Difference between revisions of "Portals on Moving Surfaces"

From Valve Developer Community
Jump to: navigation, search
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.}}
+
{{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.}}
 
[[Category:Portal 2 Tutorials]]
 
[[Category:Portal 2 Tutorials]]

Revision as of 21:45, 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. They calculate physics much more loosely and can fling passing objects around at strange speeds and angles.