The easiest way would be to use Vector math.
Take (VectorPointB - VectorPointA) = VectorResult Then normalize the resulting vector.
This will be your direction towards B.
Finally, set PointA->SetActorRotation( VectorResultNormalized.Rotation()).
The Rotation command will return the converted transform for you.
Hope that helps =)
Greeting everyone, I’ve a noobish question that I can’t solve myself. I’d like to get the rotation of an object placed in point A (ex 0, 0, 0) to make it look at a Point B (ex 10, 0, 30). Probably I miss a node. Can someone help me?
Thanks you in advance!
Thank you very much but at least I’ve found the “Find Look At Rotation” node