Hey there, I have three vectors in world space and I want to find a rotation that aligns with them using blueprints. How would i go about finding the rotation?
Draw it out
You can try Get Rotation from (X,Y,Z) Vector or GetRotation(X,Y,Z)Vector after combining them?
Do you mean the Make Rot from X,Y and Z nodes in a blueprint?
there should be something like “Make Rot from Axes”
they must be normalized, and orthogonal to each other, like real axes.
maybe one of this conditions is not met?
I tried normalizing them but it still doesn’t line up so i guess they are not orthogonal. So does that mean i cant just use any 3 vectors?
Something about how you’re explaining your problem is unclear. Draw a picture.
Of course you can’t.
According to that gif you want character to face black square? Square is a widget right?
In the gif, the actor I spawn is what I want aligned to the line traced triangle. The triangle is made up of the three vectors i wanted it aligned to.
Ok, so you can get triangle normal vector in world space and do MakeRotFromZ axis.
This can be like:
Thank you so much! You’re amazing, it works perfectly. Going to try and reverse engineer it to understand what is going on better.


