Thanks for your help Ben, you turned me onto something. I am able to
access the geometry of the MeshData of my object, and there I found
minX, maxX, etc. I then opened the Object3D class from Away3D and
found the objectWidth, objectHeight, and objectDepth functions ie:
/**
* Boundary width of the 3d object
*
*...@return The width of the object
*/
public function get objectWidth():Number
{
if (_dimensionsDirty)
updateDimensions();
return _maxX - _minX;
}
/**
* Boundary height of the 3d object
*
*...@return The height of the mesh
*/
public function get objectHeight():Number
{
if (_dimensionsDirty)
updateDimensions();
return _maxY - _minY;
}
/**
* Boundary depth of the 3d object
*
*...@return The depth of the mesh
*/
public function get objectDepth():Number
{
if (_dimensionsDirty)
updateDimensions();
return _maxZ - _minZ;
}
Can someone familiar with Away3D Lite explain if this is the right
approach, or if objectWidth, etc, have been depreciated in Lite?
Thanks,
Casey
On Oct 14, 1:41 pm, ben <[email protected]> wrote:
> sorry, this can't works....
> I'll try something else.