func_portal_orientation
Jump to navigation
Jump to search
Code classes:
CFuncPortalOrientation
CBaseEntity
(all ents)
func_portal_orientation
is a brush entity present in both Portal games. It adjusts the rotation of a portal to match a specified angle.
Bug: Only reorients portals when first enabled, making the entity inconvenient to use.
- Fix:
info_placement_helper
is a good alternative. Also, portals placed on a slanted surface will always have their bottom facing downward.
Keyvalues[edit | edit source]
- Angles to face
(AnglesToFace)
<angle>
- Direction the portal should point it's bottom (bright end) in.
- Match linked angles
(MatchLinkedAngles)
<boolean>
- If set, portals placed in this volume will have their angles match their linked portals. This only works for floor or ceiling portals with a currently linked partner.
- Start Disabled
(StartDisabled)
<boolean>
- Stay inactive until Enabled.
Inputs[edit | edit source]
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.