Gravity able

So as we did before with GetComponent to call for a color, I now used

void Update()

{

    if(Time.time > timeToWait)

    {

        // Debug.Log("passati 5 f");

        GetComponent<Rigidbody>().useGravity = true;

    }

}

it work haha. look forward to keed discovering new stuff!

Privacy & Terms