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

Ledge Jumping not working #10

Closed
GeorgeDOC2003 opened this issue May 12, 2022 · 5 comments
Closed

Ledge Jumping not working #10

GeorgeDOC2003 opened this issue May 12, 2022 · 5 comments

Comments

@GeorgeDOC2003
Copy link

I've been using this code for a college project. I've been trying to get ledge-ledge jumping working but the character will just be stuck in place when I try. Previously there were error messages saying I needed to assign the hand and feet values in the Climbcontroller script. I couldn't access the hand and feet objects from the inspector so I set it to the Player prefab, because the models are in there. I also set the hand and feet values inside the player prefab itself to the hand and feet objects. I stopped getting the error but it still wouldn't work.

@knela96
Copy link
Owner

knela96 commented May 12, 2022

Watch the following video and check everything is configured like that, you'll see that there is a checkbox that I activate on the prefab to detect the hands and feet https://www.youtube.com/watch?v=h4n7_3nTsLE.

Let me know if it works

@GeorgeDOC2003

This comment was marked as off-topic.

@knela96
Copy link
Owner

knela96 commented May 13, 2022

I will hide the comment so I can be the only one to see for your privacy @GeorgeDOC2003

@knela96
Copy link
Owner

knela96 commented May 13, 2022

I'll have a look later today ;)

@knela96
Copy link
Owner

knela96 commented May 18, 2022

Hey sorry for the delay I was a little bit busy, You missed some important parts on the documentation about how to prepare the Ledges. You need a Ledge Manager first of all as a parent and set the values Min and Max distance to find possible jump points. After that go to reset and Update Connections, To see if they are connected activate the refresh checkbox
image
image

  • Also the player has to be in the Player Layer not the Ledges as you had.
  • Really important to deactivate Player and Ledge physics between these layers on Project Settings
    image
  • Another thing was the climbing offsets of the hands that were not correctly set. ACtivate Debug Checkbox on detection system and Climbing System to see the raycasts and Gizmos on your Play Scene
    image
    image

@knela96 knela96 closed this as completed May 18, 2022
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