set force rigidbody code example Example: set force rigidbody rigidbody.AddForce( transform.up * jumpForce, ForceMode.Impulse );