I just started unity and I’m trying to make movement controls but when I go to play my character doesn’t move. I’m following a tutorial and I can’t find where I messed up pls help.
Are you getting any console errors?
Do you have a rigidbody on the character?
Do you have a CharacterController on the character? (you are using rigidbody movement, so you should not have a CharacterController, if you do you need to use that to move the character, not the rigidbody)
You are getting input in FixedUpdate. Don’t do that. Get input in Update, and add the forces in FixedUpdate. (edit: this will cause intermittent missed inputs, but won’t explain why it doesn’t work entirely)
Verify the values for the public floats in the inspector. Try some larger forces, as you may just be getting friction or drag overpowering the force. Make sure you have the rigidbody set with the correct settings as well.
No console errors, I have rigidbody on the player. no CharacterController( I don’t know if i should). I changed FixedUpdate to Update. I put physics material on the ground to erase the friction. I still don’t know what to do but thanks for the help.
Have you assigned the rigidbody in the inspector ?
I assinged rigidbody to the movement script.
In the inspector, what are the values assigned to “sidewaysForce”, “forewardForce”, and “upwardForce”?
