#Climbing Stuck

1 messages · Page 1 of 1 (latest)

cyan zinc
#

Hi I am a beginner to Unity.

I followed a tutorial to make a character climb, but after climbing you are stuck and it infinitely plays the walking animation.

https://pastebin.com/4pHQwFHb
https://pastebin.com/sST6Zp5e
https://pastebin.com/UNDqRfvd

uncut meteor
#

Sorry but I dont think anyones gonna go through 900 lines to help you, try and isolate where the issue actually lies or specify more towards a problem area

cyan zinc
#

i think the issue is private void InitiateClimb() (about line 364) @uncut meteor

uncut meteor
#

that still really is a lot to go through, I do notice you change a lot of variables in there though like speed, animator float, capsule.enabled, rigidbody.isKinematic. Make sure you're setting all them back to the regular state afterwards

cyan zinc
uncut meteor
#

i just suggest it because theres really a ton of stuff just thrown into this method. The first thing I would check is to make sure that your speed isnt still set to 0, or the rigidbody isnt still kinematic

cyan zinc
#

still not working so:

Hi I am a beginner to Unity.

I followed a tutorial to make a character climb, but after climbing you are stuck and it infinitely plays the walking animation.

https://pastebin.com/4pHQwFHb
https://pastebin.com/sST6Zp5e
https://pastebin.com/UNDqRfvd

#

(videos and photos of the issue/inspector) above