Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TIGGYsmalls on March 06, 2013, 08:10:53 AM

Title: FSM on object(clones).
Post by: TIGGYsmalls on March 06, 2013, 08:10:53 AM
If you create an object through an FSM how do you create a FSM for the (clone)?

My problem is I have a FSM that enables a FSM on a mouse click. This FSM creates the bullet object at the position of the player.

How do I control those bullets?
Title: Re: FSM on object(clones).
Post by: Alex Chouls on March 06, 2013, 10:42:07 AM
The bullet should be a prefab with an FSM already on it. The FSM is enabled when the bullet is created.

If you're doing a lot of object creation, you should search the forums for Object Pooling systems.