Hi!
I try to access attachment controler key in one of my scripts. But It did not work when the Attachment Controler is under a Position List Controler...
Anyone know why??? I'm not a script master and I certainly forget something.
Thank You in advance!
You can try this...
Create 3 cubes: One at the center of your scene (name it PARENT) and two smaller (Name them "A" and "B") Attach "A" to the PARENT with a standard Attachment controler (at Position controler root...) and the "B" with the Attachment controler in second position (in a Position list...).
Now try those command line :
Thekey = attachCtrl.getkey $A.position.controller 1
Thekey = attachCtrl.getkey $B.position.controller[2] 1
and you will get
#ReferenceTarget key(1 @ 0f) for "A"
and
#ReferenceTarget for "B"
Anubis · 2011-09-09