Hi all,
See image below. I have 3 separate reference points (A1, A2 and A3 in red) which could be anywhere in the world (but locations are known). The blue triangular object is a single actor, its origin is on Ref1. The question I have is this: how can I calculate a transform that rotates/scales the blue triangle so that the location of Ref1 = A1, Ref2 = A2 and Ref3 = A3?
I have been looking at vector math matrices etc (without having much understanding of it, I’ll admit) and I do have a (non UE) script that achieves this by doing a series of rotations and scalings, but the difference with UE is that it recalculates the coordinates of Ref1/Ref2/Ref3 in each step, which I can’t use as input for a Transform. There must be a series of blueprint nodes that achieves what I need but I’m getting all stuck with it - not so good with maths, either.
Hope someone can point me in the right direction…