playMaker

Author Topic: Wrong Action Sequence  (Read 2198 times)

BonzerKitten

  • Playmaker Newbie
  • *
  • Posts: 6
Wrong Action Sequence
« on: August 10, 2019, 02:06:51 AM »
Hi! I'm kinda new here and full of noob question, so take it easy with me, please.

So, I'm trying to make my character look at a specific position and then move to this position very fast, so I used "Look At 2D" and "Add Relative Force 2D", but PlayMaker is running actions in the wrong sequence. It always apply the force first and the direction later. I already tried to use "Action Sequence" but it didn't make any difference. How can I solve this? Is this a bug?  ???

Thanks in advance.  :)

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Wrong Action Sequence
« Reply #1 on: August 10, 2019, 10:46:29 AM »
Hi,
Are they on the same state? if yes check if LookAt is on top of Force2D. Sometimes when I want some actions playing simultaneously, I call a specific Global Event with Broadcast all...and those actions must be on seperate FSMs

P.S. Why using Force instead of Velocity?

Hope it help :)
« Last Edit: August 10, 2019, 11:12:30 AM by LeDisciple »

BonzerKitten

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Wrong Action Sequence
« Reply #2 on: August 10, 2019, 02:05:21 PM »
Hey!

Yes, they're on the same state and "Look At 2D" is on top of "Add Relative Force", so technically they should work properly. As I said, I even tried to use "Action Sequence", but it didn't helped either.

I'm using Force instead of Velocity because I want to recreate this mechanic: https://img.itch.zone/aW1hZ2UvMjY4MDE4LzEyOTI3MjkuZ2lm/original/hCbnLA.gif

How can I contact Jean to check if this really is a bug?

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Wrong Action Sequence
« Reply #3 on: August 10, 2019, 03:21:58 PM »
What I see in the gif it's that you have a State with your looking at mouse and Fire button actions. and then going to a second state containing the Force action dependent of where you click the mouse and going straight back to the first state.

LeDisciple

  • Playmaker Newbie
  • *
  • Posts: 35
Re: Wrong Action Sequence
« Reply #4 on: August 10, 2019, 03:22:47 PM »
And for Jean you can search him in the members section, good luck

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Wrong Action Sequence
« Reply #5 on: August 12, 2019, 05:22:43 AM »
Hi,

 To reach me, simply pm me on this forum.

Have you been able to progress based on what LeDisciple said?

 Bye,

 Jean

BonzerKitten

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Wrong Action Sequence
« Reply #6 on: August 24, 2019, 12:33:15 AM »
Hi! I sent you a PM. Thanks!  :)