Portals on Moving Surfaces: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Moving portals act differently)
No edit summary
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 14:45, 4 July 2011

Stub

This article or section is a stub. You can help by expanding it.

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.

Icon-Bug.pngBug:Portals will display the opening animation a second time if the surface ever stops moving  [todo tested in ?]
Note.pngNote: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.