playMaker

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

Digitom

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
ArrayList - copy rotations/positions into another array
« on: March 27, 2015, 04: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

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Re: ArrayList - copy rotations/positions into another array
« Reply #1 on: March 27, 2015, 05: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: 14342
  • Official Playmaker Support
    • View Profile
Re: ArrayList - copy rotations/positions into another array
« Reply #2 on: March 29, 2015, 11:35:23 PM »
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