Answer by metalted
My advice is using a charactercontroller, because it is the least trouble for a beginner. The sample script on the unity docs already has a jump attached. So if you want to use it add a...
View ArticleComment by goldwyn11 on goldwyn11's answer
Thank you for the quick response c: I tried applying a character controller and pasted in the script that comes with it, but my player now floats about a person and a half up into the air and the...
View ArticleComment by metalted on metalted's comment
Okay I see the problem here. The thing is, you need to make sure your name of your class matches the name of your file. The class is most likely not called CharacterController.$$anonymous$$ove, because...
View ArticleComment by goldwyn11 on goldwyn11's comment
Thank you so much, that sorted those two issues out :D ... now I know that the walk animation isn't triggering xD Ah well, one headdesk at a time, I'll see if I can get this one sorted and if I can't...
View ArticleAnswer by BigBoss8281
CODE TO MAKE PLAYER MOVE **MAKE NEW SCRIPT AND NAME IT playerMovement.cs** AND COPY PASTE THIS SCRIPT: using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
View ArticleComment by BigBoss8281 on BigBoss8281's answer
And don't forget to give character controller in your player
View ArticleComment by anilcankarabulut on anilcankarabulut's answer
If you change the last line into `transform.position += new Vector3(horizontal, 0, vertical) * speed * Time.deltaTime;` it works for more diverse situations, because you are hardsetting 'y' to 0 when...
View ArticleAnswer by Llama_w_2Ls
Dont forget Rigidbody controllers as well. By locking rotation of the rigidbody on all axis in the editor (so it doesnt fall over), you can use AddForce() on the transform.forward/right/left/back,...
View ArticleComment by abualsaad2 on abualsaad2's answer
thank you sooooooooooooo much. i allways forgot to give character controller and i had many mistakes in the script
View ArticleAnswer by Tarodev
Super quick and informative explainer here: https://youtu.be/ELz_EG-s0jU
View ArticleComment by unity_AC424B35CC0C50FD1A80 on unity_AC424B35CC0C50FD1A80's answer
If i use this script my whole character moves in the camera direction and if move the character bounces and my camera freaksout
View Article
More Pages to Explore .....