Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on September 17, 2014, 01:53:07 AM

Title: Using "Look At" action with Unity 2d [SOLVED]
Post by: Gav (HeyBud) 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.  :-\
Title: Re: Using "Look At" action with Unity 2d
Post by: Gav (HeyBud) 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