Ejemplo n.º 1
0
    /// <summary>
    /// Displays the centers of rotation using cubes
    /// </summary>
    /// <param name="mesh"></param>
    private void PlotCenters(SkinnedMesh mesh)
    {
        var centers = mesh.GetCentersOfRotation();

        foreach (var position in centers)
        {
            Instantiate(dataPoint, position, Quaternion.identity);
        }
    }