Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Puzzlebox on February 10, 2013, 01:52:23 PM

Title: Create Object
Post by: Puzzlebox on February 10, 2013, 01:52:23 PM
I'm trying to make a shooter, and I made a FSM that has a loop of two states. One state has the action "Create Object" and the other is the wait action. At the default value of 1 sec, the FSM works fine. But, when I try to speed up the FSM it starts to spawn two objects at a time. How can I make it just spawn one at a time at higher speeds?
Title: Re: Create Object
Post by: julius on February 11, 2013, 11:51:56 PM
What do you mean by speed up?

[create object:prefab](finish)->[wait:0.5](finish)->LoopBack

Should work fine. Are you adding rigid-body velocity to the created objects, or moving them in some other way?
Title: Re: Create Object
Post by: Horror on February 12, 2013, 01:41:02 AM
I'm not sure if playMaker has been updated recently but in the version I currently have, there is a bug in the wait.cs file which may be causing the problem. Try replacing it with this one http://hutonggames.com/playmakerforum/index.php?topic=2700.0