Skip to content

fix: backpack vacuum - 0.5 m pull radius, stored after 1.5 s - #552

Open
BoroBongo wants to merge 1 commit into
developfrom
fix/backpack-vacuum-smaller-faster
Open

BoroBongo wants to merge 1 commit into
developfrom
fix/backpack-vacuum-smaller-faster

Conversation

@BoroBongo

Copy link
Copy Markdown
Contributor

What

The backpack vacuum (Immersion option backpackVacuum, on by default) is tighter and faster:

  • pull radius around the opening 1.2 m -> 0.5 m (the opening itself counts from 0.3 m)
  • an item inside the opening is stored after 1.5 s instead of 3 s

Only BackPack XRI.prefab values. Unity also dropped the stale serialized _popupPrefab of VRItemDetailsPopup on save (the field no longer exists in code).

Why

Playtest feedback: with the backpack open in one hand, an item let go by the other hand didn't fall but slowly floated to the backpack (1.2 m catches everything around the player). And items at the opening waited very long before they were stored.

How to test manually

  • VR, hold the backpack in one hand, release an item with the other hand ~30+ cm away from the opening: it falls to the ground.
  • Hold the backpack's opening right over an item on the ground / a released item: it gets pulled the last few cm and is stored after ~1.5 s.
  • Immersion option backpackVacuum off: nothing is pulled (unchanged).

Save/load

No new state.

Known gaps / follow-ups

  • Values are prefab fields, not player options.

…ores them after 1.5 s - an item let go with the other hand falls instead of floating slowly to the backpack

Pull radius 1.2 m -> 0.5 m, store time 3 s -> 1.5 s (BackPack XRI.prefab). With the backpack open in one hand, an item released by the other hand was caught by the 1.2 m radius and crept towards the opening; items at the opening waited 3 s. Unity also dropped the stale _popupPrefab of VRItemDetailsPopup (the field is gone).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant