playMaker

Author Topic: ArrayList - copy rotations/positions into another array  (Read 2248 times)

Digitom

  • Junior Playmaker
  • **
  • Posts: 61
ArrayList - copy rotations/positions into another array
« on: March 27, 2015, 07:45:09 AM »
I have been trying to copy all the positions and rotations of my players bones into two other array lists. Nothing is showing up in my separate lists though... ???

I even attached the array proxies to child objects to see if it would populate those lists. I just don't think its looping the way I want it to.

maybe if there was an action to copy a component of objects in an arraylist and paste them in another list?

any help would be appreciated! thanks.

Digitom

  • Junior Playmaker
  • **
  • Posts: 61
Re: ArrayList - copy rotations/positions into another array
« Reply #1 on: March 27, 2015, 08:15:32 AM »
nevermind...to do this you have to put the Array Get Next in a separate state machine...and loop back to it. A little bit of a pain but oh well it works.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: ArrayList - copy rotations/positions into another array
« Reply #2 on: March 30, 2015, 02:35:23 AM »
Hi,

 Yeah, complex manipulation between arrays is tricky within PlayMaker, this is a typical limitation when doing visual dev, some operations gets convoluted.

bye,

 Jean