4 hours ago, Max Power said:VertMorphInfo[v].Height = (Pos - p1).ProjectOnTo(Normal).Size();
Is Size() really the length, or the size of a vector (so always 3 elements)? 'Size' is really a confusing term for magnitude.
Other than that you code looks right to me. Maybe a indexing bug. But first i would debug my code snippets if thy return the same point after both conversions. I'm not really sure they work - can't rmemeber for what purpose i've used it.
9 hours ago, Max Power said:One thing though: does "p" have to be on the triangle plane or can it be anywhere?
Can be anywhere.