Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on October 27, 2016, 01:15:24 PM

Title: M2H Egg Catcher Example Question
Post by: Rabagast on October 27, 2016, 01:15:24 PM
Hi!

I have a question to Jean Fabre about the movement to the bucket you control in this example.

The movement is in one state. I tried to use this movement in my game. How can I do so the player face the direction he is walking? Do I need to create a new FSM which manage the direction of the player?
Title: Re: M2H Egg Catcher Example Question
Post by: jeanfabre on November 01, 2016, 03:15:42 AM
Hi,

Yes, I would do that.

Check the 2d platformer sample (https://github.com/jeanfabre/PlayMaker--UnityLearn--2dPlatformer/blob/master/README.md). I am doing something like that, I flip the scale.

 Check the fsm "Flip Player direction" Fsm on the Hero prefab.

(http://i.imgur.com/XAyyA9C.png)

 Bye,

 Jean
Title: Re: M2H Egg Catcher Example Question
Post by: Rabagast on November 05, 2016, 03:27:44 AM
Hi,

Yes, I would do that.

Check the 2d platformer sample (https://github.com/jeanfabre/PlayMaker--UnityLearn--2dPlatformer/blob/master/README.md). I am doing something like that, I flip the scale.

 Check the fsm "Flip Player direction" Fsm on the Hero prefab.

Hi!

I used another solution. I use "Set Vector3 XYZ" and "Smooth Look At Direction."
I use a 3D player model with 2D collider, and it works. :)

I tried this Playmaker sample, but Playmaker didn't appear. I tried to re-download the newest from Asset store, but nothing happend.