playMaker

Author Topic: Manipulating multiple objects at once  (Read 2863 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Manipulating multiple objects at once
« on: August 05, 2011, 04:04:12 AM »
Hey,
Currently sending an iTweenRotateAdd action to a raycast-selected object. Just wondering if it's possible to do the same thing but send it to a series of objects, without having to put an FSM on each of them to receive a broadcasted event?

Also, just skimming over the Roadmap on the manual, what are Object Pool actions going to do?

Cheers!

Drakon

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Manipulating multiple objects at once
« Reply #1 on: August 06, 2011, 06:55:00 AM »
Heya,

I'm dealing with a similar problem. Haven't tried it yet, but should work.
If you make a prefab (A) with the action already attached, then by sending one message out from an Fsm  within the scene (B) all the copies of the prefab game object should receive the message at once.

Drakon

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Re: Manipulating multiple objects at once
« Reply #2 on: August 09, 2011, 02:16:33 AM »
Hey,
Yeah, I was thinking that as a possible method for it, but I'm just concerned as to how performance will be affected on iOS devices when executing something like 50 different FSM actions at the same time, rather than sending out the action from one FSM to manipulate multiple objects.

I mean, it might be exactly the same, but I can't test it as yet, still need to pick up Unity iOS!

Anyone know if performance will be drastically affected?

Cheers.