After scaling a Mesh by using scaleX propertu, why don’t i get MaxX and MinX updated, even if i call bakeTransformations() after scaling?
Update of bounds after scalingSoftware: Away3D 4.x |
||
|
||
|
||
aeki, Member
Posted: 11 March 2013 10:36 PM Total Posts: 73 [ # 2 ] nope it doesn’t To have the bounds updated, I had after a scaleX property setting, I had to call bakeTransformations() and then updateBounds(); I haven’t understood why. However, I’ve discovered the MeshHelper class which is more appropriated for what i need. I had a quick look at the code, and I realized that scaling an mesh is more complicated than just modifying its scaleX scaleY and scaleZ properties. Thanks for helping !! |