I have the script placed on a rigidbodie object directly however it will only allow me to use one of the input commands, i’m probably missing something simple here in regars to Vector3’s but can’t figure it out as of yet ?
//script to rotate rigidbodie across two axis
var frontBackForce : int = 999;
var sideForce : int = 999;
function FixedUpdate () {
var xRotation : float = Input.GetAxis ("Vertical") * -frontBackForce * Time.deltaTime ;
var zRotation : float = Input.GetAxis ("Horizontal") * sideForce * Time.deltaTime ;
rigidbody.angularVelocity = Vector3 (xRotation,0,0);
rigidbody.angularVelocity = Vector3 (0,0,zRotation);
}