How to get X,Y on layer for Image attached to actor? #SOLV ED

playtheHnote

  • Posts: 395
Hey everyone, if I have an image attached at X: -1000, Y: 0 to an actor that rotates, how would I determine the X and Y on the layer for this image? The goal is to get another actor to follow this image while the image rotates.

Thanks in advance.

« Last Edit: March 09, 2015, 01:38:41 pm by playtheHnote »
Check out my instrumental rock album "Hail to the Chosen One" at: https://soundcloud.com/play-the-h-note

Visit my facebook page @ https://www.facebook.com/justin.shellhorn.1
"Sound King"  now available at the forge see http://community.stencyl.com/index.php/topic,35672.0.html
for more info!

playtheHnote

  • Posts: 395
Or if anyone knows how to get an image instance to rotate from center, that could work too. (Even better actually.)
Check out my instrumental rock album "Hail to the Chosen One" at: https://soundcloud.com/play-the-h-note

Visit my facebook page @ https://www.facebook.com/justin.shellhorn.1
"Sound King"  now available at the forge see http://community.stencyl.com/index.php/topic,35672.0.html
for more info!

LIBERADO

  • *
  • Posts: 2718
Or if anyone knows how to get an image instance to rotate from center, that could work too. (Even better actually.)
Try this:
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

playtheHnote

  • Posts: 395
Thank you so much for the reply I will try to integrate this alg. into my program as soon as I have a chance I really appreciate it. 
Check out my instrumental rock album "Hail to the Chosen One" at: https://soundcloud.com/play-the-h-note

Visit my facebook page @ https://www.facebook.com/justin.shellhorn.1
"Sound King"  now available at the forge see http://community.stencyl.com/index.php/topic,35672.0.html
for more info!

playtheHnote

  • Posts: 395
What I was actually talking about I was able to do with the new set origin for image block however, thank you for this as well because this will be a solution to a whole bunch of other things that I have to do also. Thanks again for your help!
Check out my instrumental rock album "Hail to the Chosen One" at: https://soundcloud.com/play-the-h-note

Visit my facebook page @ https://www.facebook.com/justin.shellhorn.1
"Sound King"  now available at the forge see http://community.stencyl.com/index.php/topic,35672.0.html
for more info!