playMaker

Author Topic: Using "Look At" action with Unity 2d [SOLVED]  (Read 1232 times)

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • Tumblr
Using "Look At" action with Unity 2d [SOLVED]
« on: September 16, 2014, 10:53:07 PM »
Hi, I'd like to use "look at" with unity2d on a sprite. The regular Look At Action flips my sprite 90 degrees so it's just a line in the 2d view, because -Z is up in 2D space instead of Y. I wish I could get it to recognize the forward direction as Y instead of Z.
Target Position or Up Vector doesn't help. It's confusing. Not sure this is possible with the current action. Any ideas would be great. Let me know if you need more info to help. Thank you.  :-\
« Last Edit: September 16, 2014, 11:30:36 PM by Sarcophagav »

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 117
    • View Profile
    • Tumblr
Re: Using "Look At" action with Unity 2d
« Reply #1 on: September 16, 2014, 11:28:37 PM »
Found this which worked. I used sebaslive's explanation with Look At action and it worked. Thanks! http://hutonggames.com/playmakerforum/index.php?topic=6634.msg32381#msg32381