View Full Version : select object - store highest CV
Luddy 04-29-2003, 10:13 PM How would you store a value or create a locater at the highest point in Y by just selecting an object? Through a sriptJob?
|
|
X-Tender
04-29-2003, 10:36 PM
hmm .. get all vertices into an array and check the possition of the vertices .. and place a locater or write the koordnates of the vertex into an varaible :o ...
Luddy
04-30-2003, 01:15 AM
I'll try that method.
I can do what I want using the -bb flag if the objects bottom is at Y 0
//========
select obj;
float $array[6] = `xform -q -bb`;
print $array[4];
CGTalk Moderation
01-15-2006, 12:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.