Ejemplo n.º 1
0
        private RenderGeometry BuildTileBaseColliderGeometry()
        {
            RenderGeometry geometry1 = BuildTileBaseGeometry();
            RenderGeometry geometry2 = BuildTileBaseGeometry();

            geometry2.ApplyScale(0.5f * Vector3.one);
            geometry2.ApplyOffset(-0.01f * parent.faceNormal);
            geometry1.CombineGeometry(geometry2);

            return(geometry1);
        }