Why does your character move like a robot?

Full speed in one frame, dead stop in the next.

Why does your character move like a robot?

The problem

Velocity copied straight from input.

protected override void OnUpdate(){    var wish = Input.AnalogMove * Speed;     _cc.Velocity = wish;    _cc.Move();}

No speeding up, no slowing down. Let go of W and you stop on the spot.

The fix

Push toward it. Let friction slow you.

Accelerate moves your velocity toward where you want to go. ApplyFriction bleeds it off. Together they give weight.

Accelerate( wish )+ApplyFriction( f )=weight

The fix in code

Two calls before Move.

protected override void OnUpdate(){    var wish = Input.AnalogMove * Speed;     if ( _cc.IsOnGround )    {        _cc.Accelerate( wish );        _cc.ApplyFriction( 5f );    }     _cc.Move();}

More friction stops you faster. Our lobby player uses 5 on the ground.

Going further

Less grip in the air.

else{    _cc.Accelerate( wish.ClampLength( 60f ) );    _cc.ApplyFriction( 0.1f );}

A little steering and almost no friction, so you keep your speed off a jump.

The rule

Don't set velocity. Accelerate it.

Speed up
_cc.Accelerate( wish )
Slow down
_cc.ApplyFriction( 5f )
In the air
less of both