Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Zeyfon on January 12, 2021, 03:39:44 PM

Title: GameObjects design using PlayMaker
Post by: Zeyfon on January 12, 2021, 03:39:44 PM
Hi everyone,

Just a small doubt here, is more about design than PlayMaker itself.

I made my Player using 11 Playmaker components in the Player Object (For the Player Controller as for each of the states the player can be). There are no issues and everything works fine. This approach let the designer have all the variables he needs in their own state(PlayMaker Component), and have everything tidy.

Still I am doubtful about this approach.

I add somes images about my Player Controller that only enables and disables the necessary states (PlayMaker Component) using the Enable FSM action.

Any comments or sugestions about this?
Title: Re: GameObjects design using PlayMaker
Post by: djaydino on January 13, 2021, 06:12:59 AM
Hi.
Its good to have this split up yes.

For me, i do not enable/disable, but send events.

You could also use Run Fsm and templates, but i would suggest to wait for 1.9.1 update as the action is getting an overhaul.
Title: Re: GameObjects design using PlayMaker
Post by: Zeyfon on January 13, 2021, 09:46:30 AM
Excellent! This helps me a lot.
Thanks!

Was contemplating the templates and use the Run FSM action from within the PlayerController, but will put this option aside for now to wait for the update.