Hello, i’ve bumped into little problem.
void Update(){
if(!mvmControl.isGrounded)
moveDirection.y-=5; //gravity
if(mvmControl.isGrounded) {
moveDirection = newVector3(0,0,Input.GetAxis("Vertical"));
moveDirection = transform.TransformDirection(moveDirection);
}
mvmControl.Move(moveDirection*Time.deltaTime);
}
My mvmControl.isGrounded condition is always flickering true/false and i can’t ground my character
With .SimpleMove everything is ok, but i want to use .Move for more control