Next, I made a "capsule" shape, which will be the gravity control for my player. Since my player won't be able to (or need to) jump, that shouldn't be needed, but I'd like it to have gravity just in case.
It can't use gravity without a Rigid Body component.
Next I aligned the camera with the capsule and made the camera a child of the capsule.
After all that was finished, I then made a script to control the movement of the character (explanations in the image).
Now the character can move.
Next class I will add mouse controls.
No comments:
Post a Comment