Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: marlenesh on December 01, 2014, 04:58:19 PM

Title: Flipping the characters? 2D
Post by: marlenesh on December 01, 2014, 04:58:19 PM
Hi!

I am making a small point and click adventure game and I can't figure out how to flip the character after wich direction it's going. I use iTween to move the character to the last mouse pick. Anyone have any suggestions to how I can do this? :)

- Marlene
Title: Re: Flipping the characters? 2D
Post by: RC on December 01, 2014, 05:33:56 PM
I too need to know how to do this. please give us advice. pulling my hair out trying to figure this out!

I will post back once I figure something out.
Title: Re: Flipping the characters? 2D
Post by: antibob on December 01, 2014, 10:40:26 PM
Try using "look at" or "smooth look at" action and use the click location as the target.

-ab
Title: Re: Flipping the characters? 2D
Post by: jeanfabre on December 02, 2014, 02:56:09 AM
Hi,

 Once PlayMaker 1.8 is out, I will release the Unity Learn 2d Platform sample and it will show how to do this properly.

basically, you need to scale to -1 to flip your character, that's one way to achieve this.

 Bye,

 Jean