#Player can't jump after cinemachine sky collider polygon 2d

1 messages · Page 1 of 1 (latest)

sick lichen
#

hi, after i added a cinemachine to my hierarchy and added a polygon collider 2d to my sky; my player won't jump anymore. how do i fix this?

#

i was following this tutorial, but the whole thing made mg player not jump anymore so i had to undo everything lol

https://www.youtube.com/watch?v=2bdNgABh2Tg&list=PLcNb7VR72tXP1Mqcd-vXnn_F6MJE-bbCP&index=10

#visualscripting #bolt #unity
🐾 This Video : How to learn Visual Scripting - Part 10 - How to use Cinemachine to move Camera follow Player - Unity Tutorial - Unity No Code C - Bolt - Visual Scripting

✅ Download free Pixel Adventure asset : https://assetstore.unity.com/packages/p/pixel-adventure-1-155360

✅ Download free assets of thi...

▶ Play video
peak raven
#

Hm, not sure, best way to get help might be to post some images of your Visual Script graph. Just not enough context about your problem. Definitely CInemachine should have nothing to do with your graph working, not on its own at least.

Check that your graph is flowing to the places you expect, and log some stuff to check they are coming out the way you think they should.

sick lichen
#

there isn't really a graph for that camera and who it follows, just a graph to disable/enable the camera following the player

#

i tried to do the whole tutorial again

peak raven
#

Yeah, share the graph, will probably be faster than guessing what step you might have missed from the tutorial

#

the camera most likely has nothing to do with it, and the graph is the only thing taking responsibility for your player movement, presumably

sick lichen
#

i have this problem now, however i don't quite understand how exactly i'll do the ignore collider by layers

#

my player can jump now when i redid but i can't double jump and the animation for the jump and fall isn't working anymore

#

these are my player graphs for jump/fall

#

okay so uhm weird.... now my players jump and fall is working but the camera isn't following my player 😭

#

IM SO SORRY i don't know why the problem keep on changing

peak raven
#

What you gotta do is log stuff

#

If you think the jump counter isnt resetting, log to confirm.

Or if you think the raycasts arent hitting the ground properly, log to confirm.

If the raycasts arent working you can see if another collider is getting in the way. Etc etc. I'll check your graph soon though.

peak raven
#

ok having looked at the graph - tbh I don't expect it to work so well

#

Where is On Ground being set?

#

I only ever see it being checked but not set