Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Multi-scale algorithm  (Read 173 times)
beyonder
Customers
Community Member
*****
Posts: 241


« on: July 19, 2008, 05:16:06 PM »

Hello.

I'm building an eye with its different parts. And the parts of the eye can be modified, moved, scaled... One of the features is you can move the whole eye so all the parts move together. But when I try to scale the whole eye the different parts scale in very wacky ways since they have been modified out of the original boundaries.

Anyone have an algorithm for group scaling or multi-mesh scaling?

Thanks!  Smiley
Logged
beyonder
Customers
Community Member
*****
Posts: 241


« Reply #1 on: July 19, 2008, 07:28:35 PM »

This worked for me...

Square1.SetAttachMode False, False
Square1.AttachTo TV_NODETYPE_MESH, Square0.GetIndex, -1, True, False

Scale Square0 and Square1 scales with it.

Wow... everytime I think I know TV I just learn something so awesome about it! Thank goodness we have such an excellent engine.  Cheesy
Logged
petroz
Community Member
*
Posts: 603


WWW
« Reply #2 on: July 19, 2008, 08:47:10 PM »

glad to hear ya got it working.
You got a video of it in action?

might be something worth adding to the wiki.

-Petroz
Logged

Happiness is found in your kindness.

Project: BattleSpace
Gallery URL:
http://s235.photobucket.com/albums/ee185/PeterStirling
beyonder
Customers
Community Member
*****
Posts: 241


« Reply #3 on: July 19, 2008, 10:19:10 PM »

Give me a few more days and I will have a working program to showcase.  Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks