playMaker

Author Topic: Around the clock firing  (Read 408 times)

zerosimms

  • Playmaker Newbie
  • *
  • Posts: 5
Around the clock firing
« on: May 15, 2021, 07:27:27 AM »
Hey,

Wonder if someone could help me on this one?
I have a light the rotates around 360 degrees, I would like to fire out a game object every X seconds in the same direction as the light.

What I don't understand is how I can trigger a repeated action while I'm rotating. I've attached a screenshot of my current setup, any help would be apricated as I've tried a number of ways now...

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6910
    • jinxtergames
Re: Around the clock firing
« Reply #1 on: May 15, 2021, 08:17:49 AM »
Hi.
You can split rotate behavior and shoot behavior in 2 separate fsms.

zerosimms

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Around the clock firing
« Reply #2 on: May 16, 2021, 03:46:28 PM »
Thank you buddy, I was so deep down the rabbit hole, I didn't even think to separate out the logic :)