Applying Constant Force on Multiple Axes Via Javascript?

Hi all. I am trying to apply a constant force to both the X & Y axes. However,


constantForce.force = Vector3.right * -var2;
constantForce.force = Vector3.up * var1;

wont work because it is thinking that I am overwriting the previous force when I try to implement it on another axis. How can I get around this? I have searched through the script reference and have been unable to fund anything, any help would be greatly appreciated. Thank you in advance.

Just add the forces and assign the result to constantForce.force:

  constantForce.force = Vector3.right * -var2 + Vector3.up * var1;