unity rigidbody jump too fast code example
Example 1: unity rigidbody jump too fast
Vector3 movement = new Vector3(moveHorizontal, 0.0F, moveVertical); rb.velocity = movement * speed;
Example 2: unity rigidbody jump too fast
Vector3 movement = new Vector3(moveHorizontal, 0.0F, moveVertical) * speed; movement.y = rb.velocity.y; rb.velocity = movement;