I also have a rotation.
I want the X and Y to point at the object.

This might explain it better, it's hard for me to explain.
Scripts
Get X and Y based on rotation
Get X and Y based on rotation
1


rotation = Atan2(objectA.y - objectB.y, objectA.x - objectB.b)
ObjectA.x + cos(rotation) * distance ObjectA.y + sin(rotation) * distance
SQ: Thank you! It works like a charm
http://unrealsoftware.de/forum_posts.php?post=425706&start=0#post425727
Gaios: what?
Mami Tomoe: It IS pretty much the same thing. Basic trigonometry.
1
