// Use this for initialization void Start() { /* * LAUNCHER SCRIPT: * It's control rocket, * it will determinate if rocket going to crash or not */ thrustVector = 0; launch = false; control = true; capsuleLaunched = false; accelerate = 0; capsuleScript = capsule.GetComponent <capsuleScript>(); capsuleRigidBody = capsule.GetComponent <Rigidbody>(); crash = false; }
// Use this for initialization void Start() { capsuleScript = capsule.GetComponent <capsuleScript>(); }