Hi  Jlm .First do you mean Away3D 3.6x? or Broomstick. In away3d 3.6x and
earlier you don't need to update camera's target on each frame.Just call:
_springCam.view
Inside ENTER_FRAME callback.

Michael

On Sat, May 28, 2011 at 11:15 PM, [email protected]
<[email protected]>wrote:

> Hi quick question...  I was trying to use the spring cam... and it seems
> every frame I have to tell it what it's target is?  Am I doing this right?
>
> so I have a render every frame and something like...
>
>           Away.springCam.target.x = 0.25*(  stage.mouseX - stage.stageWidth
> / 2 );
>           Away.springCam.target.z = -0.45*( stage.mouseY -
> stage.stageHeight / 2 );
>           _view.camera.target = Away.springCam ;
>
> If I set the camera target I anticipate that it should be checking with the
> normal rendering? looking at the example we found, it fails to implicitly
> mention that we need to set every frame?
>
> As an opensource user I feel it is important to give feedback on any
> issues, it is too easy to just find a solution and not bother to feedback,
> so hopefully  my comments are not taken negatively, We really appreciate all
> the work that developers donate to away.
>
> Cheers
>
> ;j
>



-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Air |3D|Unity|
www.neurotechresearch.com
http://blog.alladvanced.net
Tel:054-4962254
[email protected]
[email protected]

Reply via email to