@@Jorr042 you are welcome! I will try to make more tutorials every week and also introduce new tutorial series. I also plan to begin learning Godot and C++. This year will become much more productive!
@merlinjongkrijak932114 күн бұрын
Thank you, brother
@kozmobotgames15 күн бұрын
Useful tip: you can put a line *rb2d.gravityScale = 0* and that will disable gravity for the bullets. Also make sure to put Physics2D instead of Physics in AddForce line of code!
@kozmobotgames15 күн бұрын
Useful tip: you can put a line *rb2d.gravityScale = 0* and that will disable gravity for the bullets. Also make sure to put Physics2D instead of Physics in AddForce line of code!
@BalazsBozsik815 күн бұрын
i cant see no ground option in include layers
@kozmobotgames15 күн бұрын
Is the layer that you want to apply the nav mesh actually called Ground? If not, you need to see how is it called and then use that name of layer.
@neerajramnj759815 күн бұрын
Make a video on object pooling
@LittlesmileyVR-CactusJam16 күн бұрын
ty it worked for my vr game too
@yess626717 күн бұрын
im sorry but this griffin looks extremely goofy, i cant stop laughin at the result. great video tho
@IsraelRodriguez-s6l20 күн бұрын
Great Vid but when I wrote the script word by word I kept getting an error message that say's "Transform does not contain a definition for 'Position' ."
@kozmobotgames20 күн бұрын
I have already defined this in previous comments: write *position* instead of *Position*
@onlinefool993122 күн бұрын
Thanks!
@GrassVR-t7b26 күн бұрын
where is the GitHub link
@kozmobotgames23 күн бұрын
github.com/kozmobotgames
@STORM-qw2gq27 күн бұрын
How to do it on 3d I tried using raycast but it only works if i use this [mouse.current.position.read value] for mouse position But when i use this [Actions.Player.Look.ReadValue<vector2>();] It didn't work why?
@kozmobotgames27 күн бұрын
Working with 3D project requires the use of x and z axis for rotation, do it like this: float angle = Mathf.Atan2(rotateDirection.x, rotateDirection.z) * Mathf.Rad2Deg; transform.rotation = Quaternion.Euler(new Vector3(0, angle, 0);
@STORM-qw2gq27 күн бұрын
@kozmobotgames I also did that it not working properly
@kozmobotgames27 күн бұрын
@@STORM-qw2gq please check what are the axes of rotation in your main camera and player objects. Maybe your configuration is different.
@STORM-qw2gq27 күн бұрын
@@kozmobotgames the problem happens when I try to get mouse position like [Actions.Player.Look.ReadValue<Vector 2>();] But when I get mouse position like [mouse.current.poisition.ReadValue();] it works
@DanaSydoniaАй бұрын
This is really great man, and the C# is recent enough that I'm not having the dramas I was having with an older Tute. Thank you!
@kozmobotgamesАй бұрын
@@DanaSydonia you're welcome! In 2025 there will definitely be more tutorials!
@mateuszg4360Ай бұрын
could you provide source code?
@STORM-qw2gqАй бұрын
How to rotate player towards mouse position using new input system 😅
@kozmobotgamesАй бұрын
Great idea! I think this can be the first tutorial in 2025 😀
@kozmobotgames27 күн бұрын
Here is the tutorial: kzbin.info/www/bejne/iIvCiHeKna-ImJY
@Ezzzy69Ай бұрын
What is the gamemanager script
@Muhammad-xr4yyАй бұрын
Thank you soo much dear! you saved my life :D
@kozmobotgames22 күн бұрын
You're welcome!
@juckya9660Ай бұрын
Why arent you using FixedUpdate? Wouldnt that make all the deltatime code pointless and make the physics interactions more consistent
@kozmobotgamesАй бұрын
@@juckya9660 yes, it would make the code more consistent, but I didn't know anything about FixedUpdate, how it affects functionality in games. I use FixedUpdate for saving a position and respawning player when it is under the respawn threshold.
@juckya9660Ай бұрын
@kozmobotgames I'm quite new but from my knowledge it's often used for physics calculations.
@dylanwalter-gb7kqАй бұрын
If you have trouble finding the Input Actions asset, install the Input Actions Package from the Package Manager!
@liarstrapАй бұрын
i cant find input actions.
@dylanwalter-gb7kqАй бұрын
Had the same issue. To solve; search for "Input Actions" in the package manager and install (restart unity after)
@amalkabalan89Ай бұрын
AMOGUS
@Medsel5Ай бұрын
keep up buddy ! tip: try to enhance your mic's quality
@manojkumarthakur9302Ай бұрын
You'll blow someday
@manojkumarthakur9302Ай бұрын
Keep it up buddy
@kozmobotgamesАй бұрын
@@manojkumarthakur9302 thank you!
@visceralvoreАй бұрын
Hi, could you make first person stealth tutorial? If a player is in the shadows, AI doesn't see him and player can knock down an enemy.
@kozmobotgamesАй бұрын
@visceralvore great idea! Although I already planned a tutorial for swipe movement next week, it will come immediately after.
@visceralvoreАй бұрын
@@kozmobotgames Thank you.
@ONLYANOOBIEАй бұрын
SOOOOOO UNDERRATED,i love your content!
@kozmobotgamesАй бұрын
@ONLYANOOBIE thank you so much! This game is still under construction, so I think I can finish it in just one month.
@ONLYANOOBIEАй бұрын
@@kozmobotgamesit seems good! when it release i want play it!
@hayallersehri7Ай бұрын
rb.velocity :))))
@MohitKumar-o4i9b2 ай бұрын
r u teaching us or just doing it !???
@kozmobotgames2 ай бұрын
@@MohitKumar-o4i9b actually, I am teaching how to do certain things in Unity.
@Thelightningbat2 ай бұрын
After the scripting, there's an error that says "Assets/MovementScript.cs(19,44): error Too many characters in character literal"
@kozmobotgames2 ай бұрын
If some of the if statements and other parts of code use characters such as && or ||, it might be an error if there are too many characters, so you have to check how many times do you use these characters.
@touchyshark2 ай бұрын
Bro I love you, I can't tell you how much time you have saved for me, you are the best!
@kozmobotgames2 ай бұрын
@@touchyshark thank you so much!
@yale3d2 ай бұрын
it is impossible that a simple button click is this fvckin' complicated.
@AndersonBarros-jk8py2 ай бұрын
Character Setup Modeling Rigging Layout Animation Lighting Rendering Compositing
@avanishpatitripathi15622 ай бұрын
Man! you have no idea how desperately I was searching for this... Thank you!!!
@vsgaming16342 ай бұрын
Love your videos and they are really helpful. I want to become a professional game developer, any tips or career guidance
@kozmobotgames2 ай бұрын
@@vsgaming1634 if you want to become a professional game developer, you can check out some courses for Unity engine. If you are good at game design, you can be a designer. But if you know programming better than designing game assets, you can be a programmer.
@mutlugameofhalit3 ай бұрын
So I understand how to save values but, what about class' references and other stuff that related to each others? How can we handle them?
@kozmobotgames3 ай бұрын
@@mutlugameofhalit just make sure that a class reference is defined with the name of the class. For example, if a class is named MovementScript, put a reference to it by saying public MovementScript mScript. You can call it in any way, but you would better like to pick values from these scripts.
@mutlugameofhalit3 ай бұрын
@@kozmobotgames i mean, i am asking about this save system
@DerickBackupBox3 ай бұрын
Somehow, I can't Test with this Tutorial and there's an Error Popping out, CS1002: ; expected or Needing the Transform.translate to have Vector3 or Vector3 is a Type
@kozmobotgames3 ай бұрын
@@DerickBackupBox maybe you should write it like Transform.Translate(), as it is described in Unity Documentation.
@DerickBackupBox3 ай бұрын
@@kozmobotgames i got another Problem, No Overload Method
@SondaPower3 ай бұрын
3:31 is not because you are calling Time.timeScale = 0 in Update? -I don't know yet but: I think that if statement should be called in the "LoseHealth()" method.
@kozmobotgames3 ай бұрын
@@SondaPower I agree with you! I just need to update the script file in my GitHub repository.
@Charvey5443 ай бұрын
I keep falling through the ground
@A_Name_113 ай бұрын
Great video. Too, I really like the jazz bass; It's refreshing to hear and provides the entire video with a cool, fun vibe.
@kozmobotgames3 ай бұрын
@@A_Name_11 thank you so much!
@Aggelosyea3 ай бұрын
roblox studio is also a more recomended game engine to learn as a starter it's easier
@lemonpopstudios72283 ай бұрын
Curious if anyone has found a way to make the player rotate in the direction of movement?
@TafagamanuVaipapaAsiata3 ай бұрын
Is it continue using another video?
@kozmobotgames3 ай бұрын
@@TafagamanuVaipapaAsiata yes and the video is called Enemy Shooting in Unity
@CelsiusGD3 ай бұрын
bru i did everything u did exactly and the camera shows nothing bru
@CelsiusGD3 ай бұрын
2 minutes later u heart my comment lol
@kozmobotgames3 ай бұрын
@@CelsiusGD please check the Z position of all objects in your project. Move it below 0 or if it still doesn't reveal, then you should move it above 0.
@CelsiusGD3 ай бұрын
I DID
@Isaac-mp5eq3 ай бұрын
Thank you, Kozmobot, for this incredible tutorial!!! Your explanation was super clear, and the step-by-step approach made it easy to follow along. This is by far the best save system tutorial I've seen for Unity, everything just clicked into place. You've saved me a lot of time and frustration. Keep up the great work!
@kozmobotgames3 ай бұрын
@@Isaac-mp5eq Thank you so much!
@VasionGamingHD3 ай бұрын
Please could you include a download to the follow script in the descrpition?
@kozmobotgames3 ай бұрын
I changed the description and now it includes the C# script link.
@VasionGamingHD3 ай бұрын
I don't see it?
@VasionGamingHD3 ай бұрын
There is no new file in the github called FollowScript ?
@kozmobotgames3 ай бұрын
@@VasionGamingHD in the first paragraph it says "Download", but here is the script link: github.com/kozmobotgames/Character3D
@kozmobotgames3 ай бұрын
@@VasionGamingHD I uploaded the script called EnemyFollow
@GDK-23 ай бұрын
where can I find the on-screen button script if i didn't make it?
@kozmobotgames3 ай бұрын
@@GDK-2 you can find all scripts on Github: github.com/kozmobotgames
@GDK-23 ай бұрын
@@kozmobotgames but there is no on-screen button script
@GDK-23 ай бұрын
ok i found it!
@kozmobotgames3 ай бұрын
@@GDK-2 that script does not exist as a separate file. To add controls for your player, you need to add a button after adding a canvas element and you also need to add an on-screen button component by going to your button, clicking add component and searching for on-screen button component. Make sure that you have already installed the Input System package.