Jump to content

Manipulate child objects through root object.


Blixtbob
 Share

Recommended Posts

Hello there.

Im completley new to scripting here so sorry if im missing something basic. Im trying to manipulate objects but instead of giving every object a script i want to do all from one script. 

So faar ive created a few boxes and linked them together and placed a script on this. But it looks like all built in functions are meant to be called from within the object itself? If I set the position from my script all the linked objects will move? I only want to move a certain object.

For example what I want to do in psuedo.

tmp = FindObjectByName("1"); //Getting the object that is linked to my root named 1

tmp.llSetPos(<1,1,1>); //Sets the position on my object without moving the others that are linked... 

 

 

What am I missing here?

Thanks 

Blixt

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...