VectorToAngle actor not looking when screen position changes

GlomGlom Member Posts: 59
edited January 2012 in Working with GS (Mac)
Hi all,

basically like the title says, I'm using Vector to Angle to have the main actor look at the mouse position using the whole Mouse position - self position for both X and Y but when the screen pans over, since it's a bigger than normal iphone size screen, the actor doesn't look at it anymore. He's usually looking the opposite direction.

What would cause this? Thanks!

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    I think Tshirtbooth has a video that addresses that in the cookbook
  • GlomGlom Member Posts: 59
    Do you happen to have a link to it?
  • GlomGlom Member Posts: 59
    Anyone have any idea on this one? Thanks.
  • jckmcgrawjckmcgraw Member Posts: 647
    I'm not sure... but check TShirtBooth's youtube channel (search it), and look at gamesaladcookbook youtube channel (search it).
  • GlomGlom Member Posts: 59
    I clicked through some of the videos as my particular problem wasn't called out so I wasn't finding anything. Then I remember the offset fix I did for something else I was working on and lo and behold that was the problem! I didn't know it could be applied to the vector to angle function as well. Glad I figured that one out, was getting a little frustrated.
    http://www.youtube.com/user/GameSaladCookbook?feature=watch#p/u/54/bfKYqsuNgXY
Sign In or Register to comment.