Having problems tracing properties in my mesh

Software: Away3D 4.x

parele, Jr. Member
Posted: 11 March 2013 10:34 AM   Total Posts: 43

Having problems tracing properties in my mesh:

var _plane = new Mesh(new PlaneGeometry(2000,2000,20,20,true),new TextureMaterial(Cast.bitmapTexture(groundMaterial)));  
_plane.geometry.scaleUV(66);

trace(_plane.segments) or segment faces or vertices///errors same with
trace(_plane.geometry.segments///errors 

Any help would be appreciated

   

parele, Jr. Member
Posted: 11 March 2013 11:11 AM   Total Posts: 43   [ # 1 ]

Ideally i want to locate if the mouse is over what face/ segment or vertices…how could i achieve this.

   

parele, Jr. Member
Posted: 12 March 2013 04:01 AM   Total Posts: 43   [ # 2 ]

Answer is:

trace(plane.geometry.subGeometries[0].vertexData);

//didnt realize i needed the properties of the plane branch off geometry. 
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X