Facepunch/garrysmod-requests

engine->GetAreaPortalPlane

Opened this issue · 0 comments

As I'm working on the HL2 Coop Gamemode I'm forced to open all area portals and rename them because some maps open and close them by triggers, so players that are far behind get clipped out visibility.

I would be able to dynamically open and close them if the given Binding would be available to get the position of the area portal.

There is currently no way to get the accurate position of area portals, the entity position would always report 0,0,0

I know this is pretty specific but it would help with the overall performance on larger singleplayer campaign maps, it almost cuts the FPS in half if you open all of them, Ravenholm is a good example for that.