Hey Guys :)
I'm trying to create a nicer and easier customizable flow for my jump.
But I have no idea how to do this.
This is currently my code for the jump:
case PlayerState.jumping:
moveDirection = new Vector3(0,currentJumpSpeed,0);
playerController.Move(moveDirection);
currentJumpSpeed -= jumpSpeedFalloff;
break;
Nothing exciting, however what I want is to control the value of the falloff with a curve :)
Any good suggestions? :)
↧