PDA

View Full Version : How do you store node reference


Illusion-shadow
01-10-2008, 02:25 PM
how do you store node reference to a custom attributes so they are name independant? What I want to be able to do is to have create a button, so when I click on that button, it will select 3 spheres in the scene, and when I click on button2, it will select the same 3 spheres and a box. I am using spheres and boxes to be simple, what I want to use this on is on a character rig.

I have seen people talking about node store in the scene's rootnode and stuff like that, and I have no idea where to start.

PEN
01-10-2008, 03:00 PM
Start here... http://paulneale.com/tutorials/CAsThisScriptCon.htm but remember that this tutorial in itself isnt' nessesary any more as script controllers now handle variables being added. So you really only need the part about the CA def and weak references. You will need to use maxObject as the variable type.

CGTalk Moderation
01-10-2008, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.