Retrieving from AS3 custom properties set on 3D models in editor ?

Software: Away3D 4.x

SuperSam, Sr. Member
Posted: 21 April 2013 12:36 PM   Total Posts: 102

Hi,

I’m wondering whether AWD 2.0 (or maybe upcoming 2.1) allows setting custom properties to 3D models in the editor and access them from AS3 ? 3DS files have this feature and I suppose we can already access them from AS3/Away3D right ?

Here’s more info about what I mean: http://area.autodesk.com/blogs/louis/creating_custom_object_properties


Thanks smile

   

John Brookes, Moderator
Posted: 21 April 2013 02:55 PM   Total Posts: 732   [ # 1 ]

Not sure with max, but the Maya awd exporter is similar, so should think it also has this.
Custom Properties are added to the meshes extra object.

so to get it in your code use
mymesh.extra.mycustomProperty

   

SuperSam, Sr. Member
Posted: 22 April 2013 04:08 PM   Total Posts: 102   [ # 2 ]

Yay Thanks !

I’ll keep that in the back of my head and use it once I’ll have sorted my mountain-sized problems with using 3DS Max and using it in an Away3D compliant and optimized way

   
   
‹‹ elevation class

X

Away3D Forum

Member Login

Username

Password

Remember_me



X