Great tutorial! Got me exactly what I needed, no time wasted. I do find the music a little bit distracting, and your microphone picks up a lot of clicks and pops from your speaking (I think your microphone is a little bit too close to your mouth, but I'm not an expert). These are just small things though. Liked and subscribed :)
HI , Great Tutorial , i am new to Unity, this helped a lot , Thank you , just one thing i cant master , i created a terrain with a hill, the camera doesn't accent ( Go higher) with the player. What can i add to the script to get it to folllow vertical as well
Hi. I press "w" then "shift" character is running. After i release "w" and then "shift", playerInput.Move.canceled nor playerInput.Move.performed not fired up. It is normal behavior&
For advanced users I recommend to use FixedUpdate() instead of Update(). I will make a video on how to create fine movement controller in the future. Please, Check out my other videos on - How to Import Assets in Unity: czcams.com/video/8weyrOxcLOE/video.html - How to use Unity's third person controller with a Custom Avatar: czcams.com/video/j_cyWWxUKFg/video.html
Did you created a new Input Action? Like this: czcams.com/video/WHaAstThZVA/video.html Later on you also need to create C# file to access the actions from code. Like this: czcams.com/video/WHaAstThZVA/video.html
Here is a video where I show how to import a package to Unity: czcams.com/video/8weyrOxcLOE/video.html If the input system were add to the project You will find the package in the Project (Tab) > Packages (Folder) > Input System Or you should see in Package Manager (Tab) > Packages: In Project (Dropdown) > Input System. That is how you can confirm if it is actually in the project.
question, you used " JumpStarted" and then In the input actions you wrote only Jump, I am confused because I am following everything you say but that gives me an error
JumpStarted is only a float I store the "Time.time" last time jump were clicked. What you are after is inputActions.Player.Jump.performed += ctx => Jump() in the Awake Function. Which is make sure Jump method will be called if Player's Jump Action is performed. In the Jump method I just reset JumpStarted. But the actual jumping is happens in the Update method where I move the "player" Up and Down relative to the time passed from JumpStarted, You can see that at 12:18. (Normally this would be handled by animations but I tried to keep this tutorial simple)
This is a very good and staight forward tutorial for newbies to unity like me. Will subscribe!
Thank you!
If you are interested to sign up for a free coaching session with me click the link bellow:
1dpz0wt3869.typeform.com/to/kiZ2kLxY
Great tutorial! Got me exactly what I needed, no time wasted. I do find the music a little bit distracting, and your microphone picks up a lot of clicks and pops from your speaking (I think your microphone is a little bit too close to your mouth, but I'm not an expert). These are just small things though. Liked and subscribed :)
Thank you for the valuable feedback! I will try to improve my audio! I glad you like the tutorial!
we need to get you more subs your videos are absolutely perfect my man
Thank You! I appreciate that!
HI , Great Tutorial , i am new to Unity, this helped a lot , Thank you , just one thing i cant master , i created a terrain with a hill, the camera doesn't accent ( Go higher) with the player. What can i add to the script to get it to folllow vertical as well
If you use terrain than best solution is using Unity's NavMesh for a proper solution, which is a larger topic.
Hi. I press "w" then "shift" character is running. After i release "w" and then "shift", playerInput.Move.canceled nor playerInput.Move.performed not fired up. It is normal behavior&
It should , depends on your key binding. You could pop that question on our discord. I'm happy to help.
You can't see the end of the line of code in the video at 11:16. What is the end of that line?
It is:
CameraRotation = new Vector3(CameraRotation.x + rotate.y, CameraRotation.y + rotate.x, CameraRotation.z);
For advanced users I recommend to use FixedUpdate() instead of Update(). I will make a video on how to create fine movement controller in the future.
Please, Check out my other videos on
- How to Import Assets in Unity: czcams.com/video/8weyrOxcLOE/video.html
- How to use Unity's third person controller with a Custom Avatar: czcams.com/video/j_cyWWxUKFg/video.html
i have import input system but there isn't any input action in my unity _
help😭
Did you created a new Input Action? Like this: czcams.com/video/WHaAstThZVA/video.html
Later on you also need to create C# file to access the actions from code. Like this: czcams.com/video/WHaAstThZVA/video.html
@@KoryCode there is no input action 1:10 in my unity
Here is a video where I show how to import a package to Unity: czcams.com/video/8weyrOxcLOE/video.html
If the input system were add to the project You will find the package in the Project (Tab) > Packages (Folder) > Input System
Or you should see in Package Manager (Tab) > Packages: In Project (Dropdown) > Input System.
That is how you can confirm if it is actually in the project.
question, you used " JumpStarted" and then In the input actions you wrote only Jump, I am confused because I am following everything you say but that gives me an error
JumpStarted is only a float I store the "Time.time" last time jump were clicked. What you are after is inputActions.Player.Jump.performed += ctx => Jump() in the Awake Function. Which is make sure Jump method will be called if Player's Jump Action is performed. In the Jump method I just reset JumpStarted. But the actual jumping is happens in the Update method where I move the "player" Up and Down relative to the time passed from JumpStarted, You can see that at 12:18. (Normally this would be handled by animations but I tried to keep this tutorial simple)
After adding Value & Vector 2, When I press Move it does not give me Vector options (4:44) It just has the same binding options
Was the Move Action selected when you changed the Action Type to Vector & Control Type Vector 2?
@@KoryCode ....Vector2 option has been replaced with move up/down/left/right...Thanks for reply...