I notice that the player falls (either from ledge or from a jump) kinda slowly, a bit like on the moon. Is there any way to make the falla little faster the closer to the ground? I did the following, but still not fully desired functionality because he falls too early. Need big brain power to figure this out.
public override void Tick(float deltaTime)
{
Move(momentum, deltaTime);
stateMachine.ForceReceiver.SubstractVelocity(startingVelocity);
startingVelocity = startingVelocity + 0.01f;
Debug.Log(startingVelocity);
if (stateMachine.CharacterController.isGrounded)
{
ReturnToLocomotion();
return;
}
FaceTarget();
}
in forcereceiver:
public void SubstractVelocity(float subStractValue)
{
verticalVelocity -= subStractValue;
}