Quantcast
Channel: Comments and answers for "How to make a 3D character move?"
Browsing latest articles
Browse All 11 View Live

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 Article



Comment 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 Article

Comment 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 Article

Comment 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 Article

Answer 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 Article


Comment by BigBoss8281 on BigBoss8281's answer

And don't forget to give character controller in your player

View Article

Comment 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 Article

Answer 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 Article


Comment 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 Article


Answer by Tarodev

Super quick and informative explainer here: https://youtu.be/ELz_EG-s0jU

View Article

Comment 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
Browsing latest articles
Browse All 11 View Live




Latest Images