StrataSource / Portal-2-Community-Edition

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

Enhancement: Add cvar for reverting P2's changes to grabbing objects #1699

Open Wheattttt opened 2 months ago

Wheattttt commented 2 months ago

What would this enhancement be for?

Audio

Describe your enhancement suggestion in more detail

P2 has unique behavior for grabbing objects, that causes them to snap upwards when other geometry is nearby. This was clearly designed to prevent cubes from getting snagged, but works horribly with smaller objects and smaller gaps. A cvar to disable this and revert to p1-like grab functionality (or at least something similar) would be very welcome.

Examples:

https://github.com/user-attachments/assets/6059d8a8-5e53-4c5f-8785-67cec2952125

https://github.com/user-attachments/assets/0f7fd70c-f7d8-4592-844a-cf0552a5994f

vrad-exe commented 2 months ago

Should perhaps also make it dependent on the size of the object, so smaller models don't get snapped upward as much