Hi Tom. Thanks for the reply.
But if you check my code above you'll see that your AXISY variable is equivalent to the last but one parameter of 3 in my AlignToVector line.
So no change there.
Let me clarify:
Imagine a triangle in a mesh.
I can get the triangle and I can get each vertex, but I need to align my shadow mesh to the slope of that triangle.
Surely (please...) one of the big brains out there has already done something like this?
I guess it's the same as aligning a bullet-damage sprite to a wall, but it's beyond me.
But if you check my code above you'll see that your AXISY variable is equivalent to the last but one parameter of 3 in my AlignToVector line.
So no change there.
Let me clarify:
Imagine a triangle in a mesh.
I can get the triangle and I can get each vertex, but I need to align my shadow mesh to the slope of that triangle.
Surely (please...) one of the big brains out there has already done something like this?
I guess it's the same as aligning a bullet-damage sprite to a wall, but it's beyond me.