StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
148 stars 3 forks source link

Bug: Portals do not push player out on re-placement in certain cases #602

Open craftablescience opened 3 years ago

craftablescience commented 3 years ago

Describe the bug

Normally, when you place two portals, both on a wall, and stand inside the portal, replacing one portal pushes you out of the portal you are standing in. However, if you replace the portal you are not standing in on the ground, there is no push applied to the player.

To Reproduce

  1. Go to Triple Laser.
  2. Place two portals, both on the wall.
  3. Stand in one.
  4. Replace the other portal on a wall, notice you are pushed out of the portal you were in.
  5. Go back into the portal you were in.
  6. Replace the other portal on the ground.
  7. Observe there is no push applied to the player.

Expected behavior

The player is pushed out of the portal they are standing in, just like how wall portals push them out.

Operating System

Reported on Windows 10.

PortalRex commented 3 years ago

This is intended, Valve did this to prevent floor reportals.

craftablescience commented 3 years ago

One of the aims of P2:CE is to fix Portal 2 glitches, and I would consider this a glitch. If it's essential to speedrunning, it could always be added back through a cvar.