Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: zerosimms on May 15, 2021, 07:27:27 AM

Title: Around the clock firing
Post by: zerosimms 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...
Title: Re: Around the clock firing
Post by: djaydino on May 15, 2021, 08:17:49 AM
Hi.
You can split rotate behavior and shoot behavior in 2 separate fsms.
Title: Re: Around the clock firing
Post by: zerosimms 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 :)