rb.addforce 3d c# code example Example: rb.addforce 3d c# rb.AddForce(0, 0, 5 * time.deltaTime); // time.deltaTime is optional