Pull up on top of a ledge

Offen
#343 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@piotrb92 arbeitet bereits daran.

Seit 23.4.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.
Vorherrschende Sprache
C#
Sterne
33
Forks
1
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
56

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Gothic-Unity-Project/Gothic-Unity

Alle Issues in Gothic-Unity-Project/Gothic-Unity

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.