[Papervision3D] DisplayObject3D dimensions?

Tyler Egeto tyleregeto at gmail.com
Sun Dec 21 11:47:13 PST 2008


Simple answer is no. 

If your object is a primitive shape, such as a plane or cube, you set these
dimensions when you create them, so you would know at that point, and could
store it yourself. Then with a little math calculate the new size if the
scale changes. 

When working with DAE's in the past, I have determined a base scale with my
designer to work with, and used that to work in Action Script. Not ideal,
but manageable.


Jiajun Lim wrote:
> 
> Hey all,
> 
> is there a way to get the dimensions of 3D objects? I scoured the API but
> there weren't any apparent accessors for width/height/depth of
> DisplayObject3D or any of its subclasses.
> 
> Thanks!
> -Jay
> 
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> 
> 


-----
Tyler Egeto
http://tyleregeto.com TylerEgeto.com 
Have question? Email me at tyleregeto[at]gmail[dot]com
-- 
View this message in context: http://www.nabble.com/DisplayObject3D-dimensions--tp21116191p21118441.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list