Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard to climb over the ledge #259

Open
fight4dream opened this issue Feb 6, 2022 · 3 comments
Open

Hard to climb over the ledge #259

fight4dream opened this issue Feb 6, 2022 · 3 comments

Comments

@fight4dream
Copy link

fight4dream commented Feb 6, 2022

Steps to reproduce

Follow the tutorial (with pseudobody).
Climb the large cube.
When climb to the top edge of the ledge, I lean forward my head (head is above the cube surface), my hands are behind my torso (act like i am totally should be standing on the cube).

Expected behavior

I should be standing on the cube.

Current behavior

I got pushed away (or pseudobody resolved divergence) and fall to the ground.

@thestonefox
Copy link
Member

Half Life 2 VR handles this in a neat way by having a teleport target you look at when you've climbed to the top and then when you release your grip it teleports you to that position.

@thestonefox
Copy link
Member

https://www.youtube.com/watch?v=TNP2GZehMc4&t=190s

fair to close this ticket with this solution?

@fight4dream
Copy link
Author

this requires set up of possibly many trigger areas. also they shall better be turned on only when climbing so that it will not teleport to ground when stepping off the ledge.

a raycast solution is better suit the general purpose. for example, when climb ends, raycast to check for ground and teleport. but this may also have its problem because we cannot propel ourselves.

Usually, the pseudobody collider goes from player head towards the ground (as seen in the scene view if i remember correctly). i suspect the problem is after climb, the pseudobody does not honour this and somehow still sticking outside of the wall.

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

No branches or pull requests

2 participants