playMaker

Author Topic: Create Object  (Read 2103 times)

Puzzlebox

  • Playmaker Newbie
  • *
  • Posts: 5
Create Object
« 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?

julius

  • Playmaker Newbie
  • *
  • Posts: 15
Re: Create Object
« Reply #1 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?

Horror

  • Junior Playmaker
  • **
  • Posts: 79
Re: Create Object
« Reply #2 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