playMaker

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

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Using "Look At" action with Unity 2d [SOLVED]
« on: September 17, 2014, 01:53:07 AM »
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 17, 2014, 02:30:36 AM by Sarcophagav »

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Re: Using "Look At" action with Unity 2d
« Reply #1 on: September 17, 2014, 02:28:37 AM »
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