If you mean changing the color, you can modify that using visual studio settings, can't remember exactly where but you'll find a place maybe called "themes" where you can change those things
Great tutorial, but I'm having a small issue. Everything in unity is like 10 times smaller, like when I added the collider the first time to the floor, it automatically set the size to 0.6, but in your case it is 1.6. same thing when we got the values for the walk and run animations like it's 10 times smaller. I had to set the radius for the empty game object for ground check to 0.02 instead of 0.2. I'm not sure what my problem is if you can shed some light on this issue
Hey, Working with 2D sprites can be a tedios if you want to follow up someone else's work, as the sizes of the sprites may differ then the pixel-size itself can be different as well as the camera size in the scene, so if you are facing scaling issues it's most likely due to not the same settings as the ones in the tutorial but it's as simple either relooking the video and making sure the settings are similar or work it out yourself as you did, and adjust the sizes to fit your settings.
looks like this works for if the character is like, "halfway" on a platform, right? so if the character is on the edge of a platform, but the center point is past the edge, it won't detect as grounded
Hey, That's weird cause it's an array and it has built in length parameter, Can you please join the discord channel and post the code and I can assist you from there easily
hey, maybe it's my fault, but after the groundcheck addition to the script of my character i am no longer able to move. Anybody knows what could it be? P.S.: it appears not to be any error in the script, and even though the isGrounded bool becomes true when it is true, i cannot move...
First of all, no need to say it's your fault :) mistakes happen from either side and what programmers like yourself would do is try and solve them. So you said after adding the ground check logic your character stopped moving, so what you can do is check the ground logic and run in debug mode and add breakpoints after each step you added, if you don't know how to do that properly then try removing/commenting bits step by step to know what cause the issue. I'm sure there's a boolean check somewhere that prevents the user from accepting move logic
This tutorial just doesn't work, been trying for weeks to get this to work properly. The ground check works fine but I still have infinite jump no matter what I do
@@Antarsoft Heya man, really appreciate the offer! But I just decided to experiment myself and used an If Else statement, Im surprised no other tutorial did that. Really do appreciate the offer tho, your a great content creator :) keep up the good work!!!!!
really good tutorial just got little problem on the end of it it say "animator.SetFloat("xVelocity" , Mathf.Abs(rb.velocity.x));" but "SetFloat" is underlined and unity say it was error "cs1061" i don't know how to fix it if you could help and still thx for the tuto. (also really sorry if its hard to read im not english and not so good at it)
Hey sorry for late reply, Usually cs1061 is referred to an non-existing method. So it's either you have an issue with the spelling, or the "animator" isn't the correct object . Or could be a bug in Visual Studio not compiling the UnityEngine framework. If you haven't solve it yet I'd suggest restarting your unity and if not, join our discord and post your code snippet there in the help section, we might be able to help you out
u can just do /* (your text here and how long u want) */ so u can put long comments Edit: bool isGrounded = false; does not work and i use it for stickman
Thanks for the video, although just a tip - perhaps try to think more about how you want to explain everything or plan it out before. You're a bit chaotic and it's distracting.
I am a beginner in Unity in Japan. The explanation of Unity is easy to understand and it is helpful!
I'm happy it's helpful, keep working hard and if you need help please let me know, you can join our discord channel
Really undervalued channel. Love the tutorials, even if I just use bits that I need, I recomend watching the entire thing.
Cheers 😇😇😇 comments like these make my day
I'm glad to be able to help
awesome tutorial! I created a VR game using Unity for my Thesis! nice content here!
Thank you, what’s your VR game about?
@@Antarsoft he never responded what it was a bout :(
Who's he ?
Thank you very much!! I have been struggling on it for hours!
You're welcome Melaniia, I'm glad it helped you
I loveee this channel. I'm new to coding and this has been so helpful. I'd love to be a patron.
Heyoooo 😇😇😇 I'm very happy to be able to help and thank you for your gracious support
If you want to become a patron please find the link in the description 😇
For new unity versions, you must put the "GroundqCheck" void name in the Update void ❤
What do you mean, it's not actually necessary, The name of the function can be anything!
Ah a tutorial that has running walking jump falling crouch camera all in one perfect for my rayman ps1 project
😁
Yeah! and guess what he is going to add couple more mechanics as well, hopefully soon.
Thanks a lot! It worked better than the raycast.
Glad to hear that 😇
How do you get the [SerializeField] and other stuff like that to light up blue
If you mean changing the color, you can modify that using visual studio settings, can't remember exactly where but you'll find a place maybe called "themes" where you can change those things
thanks for the tutorial :) It helped me a lot
You're welcome 😇😇😇
Thank you!
You're welcome 😇
Great tutorial, but I'm having a small issue. Everything in unity is like 10 times smaller, like when I added the collider the first time to the floor, it automatically set the size to 0.6, but in your case it is 1.6. same thing when we got the values for the walk and run animations like it's 10 times smaller. I had to set the radius for the empty game object for ground check to 0.02 instead of 0.2. I'm not sure what my problem is if you can shed some light on this issue
Hey,
Working with 2D sprites can be a tedios if you want to follow up someone else's work, as the sizes of the sprites may differ then the pixel-size itself can be different as well as the camera size in the scene, so if you are facing scaling issues it's most likely due to not the same settings as the ones in the tutorial but it's as simple either relooking the video and making sure the settings are similar or work it out yourself as you did, and adjust the sizes to fit your settings.
why so much trouble when you can simple check ground collision with a OnColissionEnter function?
There are so many ways to implement, if you feel this is too much try your approach
hi i was using this tutorial but the ground check collider isn't popping in the inspector what should i do?
Hey
If you can show me the code here or join the discord channel and post it there
www.discord.gg/zcZTAQq
@@Antarsoft Hey! I left a message on your discord with a similar question. Would really appreciate some help!
looks like this works for if the character is like, "halfway" on a platform, right? so if the character is on the edge of a platform, but the center point is past the edge, it won't detect as grounded
Totally true, that would be an edge case -literally- where we need to have side detectors.
I got the error "Collider2D[] does not contain a definition for "length" and no extension method for "length""
Hey,
That's weird cause it's an array and it has built in length parameter,
Can you please join the discord channel and post the code and I can assist you from there easily
i have the same problem
Never mind my dumbass friend misspelled length.
😄 nothing beats fixing a bug
@@moiseicho5133 Dude I just realized I did the same thing...
hey, maybe it's my fault, but after the groundcheck addition to the script of my character i am no longer able to move. Anybody knows what could it be?
P.S.: it appears not to be any error in the script, and even though the isGrounded bool becomes true when it is true, i cannot move...
First of all, no need to say it's your fault :) mistakes happen from either side and what programmers like yourself would do is try and solve them.
So you said after adding the ground check logic your character stopped moving, so what you can do is check the ground logic and run in debug mode and add breakpoints after each step you added, if you don't know how to do that properly then try removing/commenting bits step by step to know what cause the issue.
I'm sure there's a boolean check somewhere that prevents the user from accepting move logic
mouse scroll problems, I can feel you man.
😄😄😄
@@Antarsoft xd
Make a tutorial about main menu
I'll put it in the agenda.
Thanks for the suggestion 👍🏻
Why no raycast tho?
You can do either
i can mail my code and inspector screenshot
Join the discord channel and you can directly send the code or snapshot or video there
www.discord.gg/zcZTAQq
I can help you easily
This tutorial just doesn't work, been trying for weeks to get this to work properly. The ground check works fine but I still have infinite jump no matter what I do
Damn, sorry to hear that, I'll help you out, do you mind jumping into the discord channel? Maybe there we can see what's the issue
@@Antarsoft Heya man, really appreciate the offer! But I just decided to experiment myself and used an If Else statement, Im surprised no other tutorial did that.
Really do appreciate the offer tho, your a great content creator :)
keep up the good work!!!!!
Great work 😇😇👍🏻👍🏻 thank you got the kind words
really good tutorial just got little problem on the end of it it say "animator.SetFloat("xVelocity" , Mathf.Abs(rb.velocity.x));" but "SetFloat" is underlined and unity say it was error "cs1061" i don't know how to fix it if you could help and still thx for the tuto.
(also really sorry if its hard to read im not english and not so good at it)
Hey sorry for late reply,
Usually cs1061 is referred to an non-existing method.
So it's either you have an issue with the spelling, or the "animator" isn't the correct object .
Or could be a bug in Visual Studio not compiling the UnityEngine framework.
If you haven't solve it yet I'd suggest restarting your unity and if not, join our discord and post your code snippet there in the help section, we might be able to help you out
u can just do
/*
(your text here and how long u want)
*/
so u can put long comments
Edit: bool isGrounded = false; does not work and i use it for stickman
Doooooo it
Good tutorial.... keep it up.... I wait for your return response.
Thank you
Thanks for the video, although just a tip - perhaps try to think more about how you want to explain everything or plan it out before. You're a bit chaotic and it's distracting.
Thank you, I do the planning but I have run into some complications in couple videos, yes.
Will do more thorough planning.
Appreciate the feedback 😇