playMaker

Author Topic: M2H Egg Catcher Example Question  (Read 1551 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
M2H Egg Catcher Example Question
« 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?
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: M2H Egg Catcher Example Question
« Reply #1 on: November 01, 2016, 03:15:42 AM »
Hi,

Yes, I would do that.

Check the 2d platformer sample. I am doing something like that, I flip the scale.

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



 Bye,

 Jean

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: M2H Egg Catcher Example Question
« Reply #2 on: November 05, 2016, 03:27:44 AM »
Hi,

Yes, I would do that.

Check the 2d platformer sample. 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.
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no