Movement? Check
Ahhh finally~
This piece of code was breaking the snappy movement:
Vector3 horizontalVelocity = rb.velocity;
horizontalVelocity.y = 0;
if (horizontalVelocity.sqrMagnitude < maxSpeed * maxSpeed)
rb.velocity = horizontalVelocity.normalized * maxSpeed + Vector3.up * rb.velocity.y;
This code's job was to cap the speed at which she runs. Now she runs 25 units (?) max.
I changed the movement speed to 3 and drag to 5. She comes to a stop quickly now and she turns instantly, not like before when it took milliseconds for her to turn around.
The movement reminds me of Mario in Odyssee. He too accelerates and takes some steps to come to a stop. Still, I fear that this accelaration might feel slow, but I will have to test this further down in prototyping once I have some tasks to do in the game.
Next thing I want to tackle is inventory.











