Sorry, but i can't understand. I'm watched this http://blip.tv/file/1303669tutorial, and as i understanding in both systems positive Y is on top. But in Away3dLite I'm getting positive Y on bottom, and negative Y on top. In basic Away3d i'm getting positive Y on top and i think it's normal.
2010/3/21 Fabrice3D <[email protected]> > That's because Away was developped left handed, and when the player 10 was > released, turns out it was more like righthanded. > It is possible Away might get this properties as well in the future... > > Fabrice > > On Mar 20, 2010, at 10:20 PM, Vadim wrote: > > > Hello. I'm starting to learn Away3d but can't understand, why > > Away3dLite has inverted y axis. It's very strange, because in original > > Away3d all works really well. > > > > This is my sample code: > > > > package > > { > > import away3dlite.containers.View3D > > import away3dlite.primitives.Cube6; > > import away3dlite.cameras.Camera3D; > > > > import flash.display.Sprite; > > > > [SWF(width="500", height="400", frameRate="60", > > backgroundColor="#FFFFFF")] > > public class AwayLiteCube extends Sprite > > { > > public function AwayLiteCube() > > { > > // create a viewport > > var view:View3D = new View3D(); > > view.x = 250; > > view.y = 200; > > > > var camera:Camera3D = new Camera3D; > > camera.x = 0; > > camera.y = 0; > > view.camera = camera; > > addChild(view); > > camera.z = -300; > > > > var cube:Cube6 = new Cube6(); > > cube.scaleX = 0.1; > > cube.scaleY = 0.1; > > cube.scaleZ = 0.1; > > cube.y = 20; > > cube.x = 0; > > > > view.scene.addChild(cube); > > > > view.render(); > > } > > } > > } > > > > I think this code must move cube to the top of the view, but it's move > > it to the bottom. If i using original Away3d libs- all works fine and > > this code moves object to the top. > > > > To unsubscribe from this group, send email to away3d-dev+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > > To unsubscribe from this group, send email to away3d-dev+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- Best regards, Vadim Smakhtin. To unsubscribe from this group, send email to away3d-dev+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
