Pull up on top of a ledge

未關閉
#343 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@piotrb92 已經在處理了。

開始於 2026年4月23日。

評估

這個 Issue 還沒有評估資料。

描述

feature

Description

Currently there is no feature to pull up on a ledge like in Gothic. In G, if the ledge is about 0.5m high, then the hero can jump and grab it. We should implement a similar - VR like feature. Thief VR has a good mechanism and it also uses HVR for hand interactions, which makes it easier to adopt the implementation: https://youtu.be/c5060hPFLjk?si=cMBjKxlS-JOsOWGa&t=1455

Image

TODOs

  • If our hands are above our head, raycast each (physics)-frame, if there is a ledge in about 0.5m above us
  • if so, add a grabbable element as transparent collider at it
  • If we then have our hands pointing at it, it's like if we want to pull it towards us (white indicator)
  • Then a grab of both hands will pulls us on top of it
    • Via non-physics fly
    • Or via blink/teleport

Alternative

  • During world creation, we could calculate these ledges which we can grab already. From my understanding, there are two elements important: (1) the "wall" and the "floor" need to be around 90° in angle sharp, (2) the height of the wall-ledge needs to be around 2-2.5m only.
  • It could be cached and the Colliders to "pull us against" can be added in world during runtime.
主要語言
C#
星號
33
分支
1
平均合併
1 天 17 小時
30 天內合併 PR
51

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

Gothic-Unity-Project/Gothic-Unity 的其他 Issue

查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。