Water handling: Change Ray cast to OnTriggerEnter/Exit
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
Start by locating VRSwimDive and reading how it currently raycasts for water height. Then identify where its water level is stored and how the Unity triggers can report knee and head height; the issue gives no file or test names. Done means trigger enter and exit handle water level, the raycast is removed, and a cooldown reduces rapid toggling.
由索引模型根據 Issue 內容生成。
描述
Description
Currently VRSwimDive is raycasting each frame for water height. Let's move it to the collision triggers for improved unity handling.
TODOs
- create a trigger in knee height
- create a trigger in head height
- implement onTriggerEnter/Exit and handle water level value there.
- remove raycast functionality
Reduce on-off bobbing (e.g., in water or when we walk in knee deep and the floor has smaller height differences):
- Implement cooldown before Enter/Exit is recognized (e.g., 0.5f)
- 主要語言
- C#
- 星號
- 33
- 分支
- 1
- 平均合併
- 1 天 17 小時
- 30 天內合併 PR
- 51
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Gothic-Unity-Project/Gothic-Unity 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 69/100
Gothic-Unity-Project/Gothic-Unity#487 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 55/100
Gothic-Unity-Project/Gothic-Unity#486 ·
維護者通常 1 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 48/100
Gothic-Unity-Project/Gothic-Unity#485 ·
維護者通常 1 天內回覆
查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue
相似的 Issue
-
area/resource-registry status/triage
難度 1/5 1-3 小時 新手友好度 76/100
Altinn/altinn-auth#4821 ·
維護者通常 1 天內回覆
-
a11y community:contribution
難度 2/5 1-3 小時 新手友好度 74/100
microsoft/fluentui-blazor#5590 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 79/100
JetBrains/resharper-unity#2510 ·
-
難度 1/5 1-3 小時 新手友好度 78/100
QuantConnect/Documentation#2838 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
AvaloniaUI/Avalonia#22697 · 1 則留言 ·
維護者通常 1 天內回覆