yeah we have some minor changes going on, fresh from yesterday... Hovercamera3d has now all properties in camelcase. so titltangle become tiltAngle etc..
and targettiltangle and targetpanangle are no longer in this class Just rename and you'll be just fine Fabrice On Mar 9, 2010, at 2:17 PM, Stefan wrote: > Hello Fabrice, > thanks for your answer! > > But now I'm totally confused. If I download from this link... > http://away3d.googlecode.com/svn/trunk/fp10/Away3D/src/ > > ... my code does not run anymore. > E.g. cam.mintiltangle is not recognized anymore, but if I change my > code to cam.minTiltAngle is recoginzed. > > First thought I (again =) downloaded the wrong sources - this somehow > looks like Away3DLight. But in the file ... > http://away3d.googlecode.com/svn/trunk/fp10/Away3D/src/away3d/cameras/HoverCamera3D.as > ... it says: package away3d.cameras > Further down in the code variables are named "tiltAngle" and > "minTiltAngle" and so on. This is quite different from the file I got > from the download area. > > I could really need some help here - probably I'm just doing some > stupid mistake here... > > Stefan > > > > > On 9 Mrz., 12:07, Fabrice3D <[email protected]> wrote: >> Please use the trunk source. >> The zip haven't got updated for a while due to automation problems... >> >> Fabrice >> >> On Mar 9, 2010, at 11:33 AM,Stefanwrote: >> >> >> >>> Hello guys, >>> just had to set up away3d new machine and therefor downloaded the >>> sources from this url: >>> http://away3d.com/download/away3d_3_4_0.zip >> >>> And there it is again - the hover cam problem. >>> When I add this line from the post above before line #160, hover cam >>> correcly follows my objects: >>> gx += target.x; gy += target.y; gz += target.z; >> >>> Have I downloaded an old version? >> >>> As this line of code solved my problems, just wanted to mention this >>> again. Maybe some other users have the same problems. >> >>> Stefan >> >>> On 3 Mrz., 19:52,Stefan<[email protected]> wrote: >>>> Hi all, >>>> just found this thread which seems to solve my problem. Now I really >>>> can orbit objects regardless of how far awa from the scenes origin =) >> >>>> http://groups.google.com/group/away3d-dev/browse_thread/thread/aeb2c2... >> >>>> At the end it says that this issue has been updated in all versions. I >>>> dont know why, but in my version of HoverCamera3D.as those lines were >>>> missing. I have installed today using svn. >> >>>> Regards,Stefan >> >>>> On 3 Mrz., 19:12,Stefan<[email protected]> wrote: >> >>>>> just cant get it to work the way I expected. =( >> >>>>> In the example above, when I set on of the cubes farther away from the >>>>> origin, again I cannot orbit the cube. >>>>> The camara seems to move on a circle around origin. It just seemed to >>>>> work because the cubes where so close to the origin... >> >>>>> Please, could someone help? Thank you! >> >>>>> Regards, >>>>> Stefan >> >>>>> On 3 Mrz., 18:14,Stefan<[email protected]> wrote: >> >>>>>> .. to be correct - basically put together from YOUR examples =)
