Is there a way to keep the objects in a scene from scaling when view.height is changed?
I’ve posted a basic sample here: http://www.tippedover.net/away3d/
When you shrink the browsers width, the torus stays the same size and centred, but when you shrink the height of the browser, the torus ( and the scene) get smaller.
I’m performing the resizing like this:
protected function resize_listener( event:Event ):void{
view.width = stage.stageWidth;
view.height = stage.stageHeight;
}
I don’t understand why it behaves differently vertically vs horizontally. Can anyone shed some light on this?
Thanks