Message 1 of 8
simple script
Not applicable
12-04-2008
02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I'm trying to put together a simple script and was hoping someone out there might be able to give me a hand.
Basically I have a scene full of objects and I want to create a cube for each one. Then attach each object to their corresponding cube in turn, take the pivot position and name from the object being attached to the cube, and then delete the element that is the cube.
So none of the original objects move, they retain their name and pivot position, but are effectively reset by attaching them to a new object (the cube) which is then deleted.
Any help would be mucho appreciated!
I'm trying to put together a simple script and was hoping someone out there might be able to give me a hand.
Basically I have a scene full of objects and I want to create a cube for each one. Then attach each object to their corresponding cube in turn, take the pivot position and name from the object being attached to the cube, and then delete the element that is the cube.
So none of the original objects move, they retain their name and pivot position, but are effectively reset by attaching them to a new object (the cube) which is then deleted.
Any help would be mucho appreciated!