Hello guys,
I need your help.
After making some progress by watching and reading tutorials,
I have two problems with my game character.
Problem 1 (which got even worse by turning into problem 2):
My character is unable to move correctly when I press left or right arrows.
The movement is like in Slow motion.
(The walking animation is fine, though.)
I specified 3 times a 2D Circle Collider.
- the first one for the head
- the second one for the torso
- the third one for the feet
Additionally, I added a GroundCheck which is placed on the highness of the feet.
(In theory, 1 Collider would be enough but the guy from the tutorial said 3 were better.)
Jumping has always been fine and while being in air, it could move faster to the left or right.
(Faster than while being on the ground.)
Problem 2 (which was formerly problem 1):
Now it’s even worse:
When I run the game, my character just hovers/wafts and gets higher and higher (not fast, though).
I tried many settings (like changing gravity or mass), but it remains the same…
Problem 1 was annoying, but problem 2 is even more annoying.
I wanted to ignore that problem and go further with the tutorial, but it makes no sense.
These are the settings (attachments):
(For the first screenshot I disabled GroundDetection, to show the third collider)
Unfortunately, a lot of options from the tutorial are not there, because it’s an old Unity version in the tutorial.
What could produce this wrong behaviour and how to set it properly?
Thanks for any help!
Best regards