Hi everyone,
Currently I am working on a small 3D scene in 3DS Max, which I later want to turn into a .swf with Away3D. The scene is basically a room with thing like chairs, a desk, and some random stuff like a mobile phone. The idea is that you can click on various things and that a 2D-version movieclip will pop up.
As the base for this I am using the Frustrum Hotelroom example. The problem I’m having is that the camera doesn’t start in the right place. The 3D-model of the scene is a couple of thousand units away (I have no clue how that happened) and I can’t seem to fix it. I tried changing the model’s position, which helps a little, but it is really difficult to get it right.
Initially I tried to change the position of the camera, but whenever I did that, the scene would render (as in, the Test Movie-screen would show up), but then Flash just crashed. No errors, just crashing. This is the code I used for the camera:
//camera
camera = new Camera3D();
camera.lens = new PerspectiveLens();
camera. x= 200;
Has anyone got a clue how to fix this? I am currently using Away3D 3.6, combined with Adobe Flash Professional CS6.