Michael,

> I created a text modelResource in a 3D world like this:
> 
> textModelResource = member("textSample").extrude3d(member("3D"))
> 
> Now I want the width of that textModelResource, which obviously
> depends on the width of the text in the text member. How do I get
> that? textModelResource.width won't work.

Apply the meshDeform modifier, then walk the meshes and their vertices
looking for the min/max values along the various axes and from those
compute the width, depth and height as needed. 

Cheers,
Tom Higgins - Technical Product Manager
Macromedia Director and the Shockwave Player
http://www.markme.com/thiggins/ 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to