StrataSource / Portal-2-Community-Edition

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

Bug: If enable motion for debri - it'll not go through portals #1423

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Describe the bug

In map d1_trainstation_05 plug not go through portals if place portals under it before it drop. I tested it and found the reason - this is because of flag [4] : [Debris] - Don't collide with the player or other debris. Probably this is because of debris when get enabled motion get their own simpler physics that incompatible with portals. It's may relevant to this #1280 and this #1321. I already suggest way to solve this problems here #1321. In map d1_trainstation_05.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/036dce79-827d-4f4a-8a67-8da55d77b8f2

Here I show how it's work.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/ba0e3cb9-42c0-42ce-9304-6187ffc30468

Here I show how the simpler physics interact with portals.

https://github.com/StrataSource/Portal-2-Community-Edition/assets/103366204/866e4659-4e79-49ec-a4fc-ae5a68989515

Issue Map

Any with physics objects that use the flag.

To Reproduce

  1. Open map d1_trainstation_05.
  2. Play until the room with teleporter be opened.
  3. Enter in console sv_cheats 1; impulse 101.
  4. Place under socket linked portal.
  5. Wait until plug get enabled motion.
  6. Pay attention that it's don't go through portals.

Operating System

Any.