Ejemplo n.º 1
0
    // Update is called once per frame
    void Update()
    {
        Matrix4x4 P = mop.GetObjectPose(ballRend);
        Matrix4x4 T = tiling.TileContaining(P);

        mop.SetObjectPose(ballRend, T.inverse * P);
        //col3 = wrap (col3) + initial_diff;
        //mop.SetObjectPosition(ballRend, col3);
    }