Rigidbody.velocity.x how to implement it code example Example: rigidbody velocity rb.velocity = new Vector3(0, 10, 0);