Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Portal gun beam is curved when shooting through a world portal #1668

Open
Badpoolinator opened this issue Mar 14, 2024 · 2 comments
Open
Labels
Portal 2 Bug This bug has been around since Portal 2! Would fixing it break speedruns? Priority 4: Low Low priority issue Size 3: Medium affects multiple things--may or may not be trivial to complete Type: Bug Something isn't working

Comments

@Badpoolinator
Copy link

Badpoolinator commented Mar 14, 2024

Describe the bug

When shooting a portal through a world portal, the beam will curve toward where the portal actually is on the map, instead of through the portal.

image

Issue Map

Any map with a world portal

To Reproduce

  1. Open a map with a world portal
  2. Shoot a portal through the world portal
  3. Observe portal gun beam

Operating System

No response

@Badpoolinator Badpoolinator added the Type: Bug Something isn't working label Mar 14, 2024
@pivotman319-owo pivotman319-owo added Priority 4: Low Low priority issue Size 3: Medium affects multiple things--may or may not be trivial to complete Portal 2 Bug This bug has been around since Portal 2! Would fixing it break speedruns? labels Mar 27, 2024
@vrad-exe
Copy link

vrad-exe commented Apr 5, 2024

This would be difficult to fix in a way that looks fully correct. It might work best to have the particle just stop at the worldportal.

@pivotman319-owo
Copy link
Member

This would be difficult to fix in a way that looks fully correct. It might work best to have the particle just stop at the worldportal.

maybe just fire two tracebullets (one at the original player position and another through the actual worldportal, based on player's viewangles + position) and spawn two of the same portalgun trail particles? it might not look great, but it's still better than nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Portal 2 Bug This bug has been around since Portal 2! Would fixing it break speedruns? Priority 4: Low Low priority issue Size 3: Medium affects multiple things--may or may not be trivial to complete Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants