Ejemplo n.º 1
0
    void Update()
    {
        //commented this part because of the coroutine

        /*if (body.IsSleeping() || body.IsFixed())
         *  return;
         *
         * this.transform.position = body.InterpolatedPosition();
         */
        body.SetIsFixed(isFixed);
    }