Hi everyone. I’ll be straight-forward here and ask if anyone can help me visualize a script for simple player movement? I’m trying to make a character walk on an arena with a static overhead camera. I don’t know whether to use transform, rigidbody, or character controller. I’ve been banging my head against a wall for 3 days now to write a script that meets my conditions. I’ve really been struggling with scripting, being new to Unity and Game Development in general. Plus, there’s a deadline I’ve got to meet. Can any of you folks help me? I promise I’ll learn the script and not just slap it into unity.
My conditions:
3d movement (forward, backward, left and right)
Rotates to the direction he is going to
checks if character is grounded
Any help will be of much appreciation. Thanks.
P.S. I uploaded a screenshot of the scene just to give you a visualization of what I meant.
I’d like it to rotate as I press the buttons also. it would be like the character is always facing the direction he is going to. something like what a virtual joystick will achieve, seeing that I have one on the bottom left corner