lol here ya go jävlar heres your tutorial GitHub - github.com/Dan... Merch lol - represent.com/... A quick tutorial on how to make movement like in my game Karlson
I love how he just gives you the scripts but then goes on for more than five minutes explaining it, awesome plus for anyone lazy (like me). Really cool!
Yo guys can u please help, i did all of dani's instructions correctly but when i try to look up, instead i look down, and vice versa. Also when i press w, a, s or d they make me walk the total opposite direction. Any help with this is totally appreciated
yep. if you follow brackeys: oh yeah I understand this well now! when you follow dani: (generated with autocorrect suggestions ) 400gr ei is a great way to get and use those tools to help you find the best gpu UNDER 200 is a gt 1030 that is a good 5 and a great idea and a great idea of what to use
one thing that would make this 10X better sprinting but thats simple (if pressing shift set movement speed to sprint speed otherwise movement speed) apart from that, it's amazing good luck on Karlson
you also need to check if the player isn't in the air, otherwise that would be very weird (sprinting mid air) you just gotta add the grounded bool to your if statement
A bit late but dont do this, create a layer called Ground if you havent already then take the platform your standing on and layer it ground. Thats what dani does he just doesnt show it.
dani i love you. Most of the tutorials pretend im a good and civilizate human and think im gonna see all the script and write by my self, but you let me just copy your code, i love u.
I don’t even make games and won’t be using this tutorial but I love your content so I watch it anyway. Keep up the good work! Please make this into a VR game it will be so sick!
I wish he would upload more offend, but since I'm not some brain dead OJ drinker, I understand how hard it is to create content and just wants more from him. Keep up the good work Dani! oh, and merry Christmas
For all those who's scripts have compile errors, Just make sure you are using Unity version 2019. Fixed all my problems. Also, if you are falling through the map. make sure you have box colliders, mesh filter (with the object selected) and mesh renderer. If you import your own object from blender or something, they wont have those by default most likely. Hope this helps.
I think putting the NoFriction physics material on the player and setting the friction combine to minimum achieves the same effect as putting the physics material on every object
Hey, thanks for the tutorial. I really love the movement in this game. One suggestion I can give is to use more realistic weights and dimensions to get expected results and just to avoid confusing yourself once the code gets complex. For example, you increased the gravity and used a mass of 1.5kg on the player because the jump was too big instead of increasing the mass to a more realistic value such as 65kg. Now you have a gravity that you can find no reference to and compare to. Which also means you will have to adjust the weight of all your rigid body's without any reference to real life to emulate a similar behavior to the actual world.
actually this is a problem that i suffer too and noticed in this tutorial that i need fix hehe... i just need absord what is good here and put on my own code...
@@phelipelopes8997 kkkkkkkk verdade, mano deixa eu te perguntar uma coisa, voce conseguiu fazer o tutorial? pra mim ficou meio zoado e de vez em quando eu to andando e sou jogado pra outra direção, ja vi os comentarios e um monte de gente teve o mesmo problema, pra tu deu certo?
To get velocity relative to look direction you could just do this: camera.transfrom.rotation * camera.transform.TransformDirection(rigidbody.velocity) And to avoid jitteriness at 4:55 you could just replace Update with LateUpdate. Also at 6:55 you add gravity with ForceMode.Force but gravity does not take mass into acount so you should've used ForceMode.Acceleration but notice that both these modes already multiply the value you pass in by Time.deltaTime so you don't have to multiply them once more.
This tutorial is so straight forward, even for a rookie like me who literally has barely any unity knowledge this was still really easy to follow along with! 5 star yelp review
please do more tutorials, i'm actually interested in making games with Unity for PC i'd like you to make a tutorial about how to implement health, weapons and so on subbed :)
I got an error (4), could someone help me please? - Assets/PlayerMovement.cs(161,20): error CS1644: Feature `nameof operator' cannot be used because it is not part of the C# 4.0 language specification - Assets/PlayerMovement.cs(247,35): error CS1061: Type `UnityEngine.Collision' does not contain a definition for `contactCount' and no extension method `contactCount' of type `UnityEngine.Collision' could be found. Are you missing an assembly reference? - Assets/PlayerMovement.cs(254,30): error CS1644: Feature `nameof operator' cannot be used because it is not part of the C# 4.0 language specification - Assets/PlayerMovement.cs(262,20): error CS1644: Feature `nameof operator' cannot be used because it is not part of the C# 4.0 language specification
Zebax 22 I also had the same problem but I have been able to fix one of them. Just go to edit, project settings, player, other settings, and under configuration you will see, “scripting runtime version” and change it from .NET 3.5 Equivalent to .NET 4x Equivalent. Make sure to save before doing this. As for the other problem I am not sure.
Make sure you attached the main camera to the empty camera object, and if so make sure you set the camera object as the camera in the player camera follow script
Can you make a tutorial about how you created the ragdoll stickman from off the sticks (with movement and this stuff), really appriciated if you will :)
where did you learn all of this I cant understand most of the things in the script and need a more in-depth tutorial? love your videos, you're the reason I started coding
could you also make a tutorial, for a 2d stickman, since I’m kind of learning unity and wold like to have a Skript like that, so I would know how (or you can’t make it(jk I know off the sticks since 3rd video));
Hey Dani love your videos, I have been wondering how to change your taskbar to the way you have. It is a nice colour and I have not found out anywhere online how to change it like that. Thank you a lot.
I decided to start making a game by using tutorials decided to start with Dani wanted movement from his game finished tutorial but i spent waaay too long messing with the movement having fun and then i lost motivation to continue today so all in all pretty productive today.