Heres my attempt at moving my submarine by force
var forwardspeed=100;
var sidespeed=100;
var turnpower=100;
function FixedUpdate () {
rigidbody.AddRelativeForce (0, 0, (forwardspeed * Input.GetAxis("Vertical")));
rigidbody.AddRelativeForce (0, 0, (sidespeed * Input.GetAxis("Horizontal")));
rigidbody.AddRelativeTorque (Vector3.up*turnpower * Input.GetAxis ("Mouse X"));
}
Im getting something from the third line but not the first two…
What is the key here? Im just getting feet wet here. I cant wait till I get good enough at this to put all that high school physics to work
Cheers
AC