We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Ralf

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: How to set camera parameter in puzzle? #42545
    Ralf
    Customer

    I finally managed to change the orbit-cam limits by exec script puzzel. :yahoo:

    app.controls.enableZoom = true;
    app.controls.enablePan = false;
    app.controls.minDistance = 10;
    app.controls.maxDistance = 15;
    //console.log(app.controls.getPolarAngle()); // in case you are lost
    app.controls.minPolarAngle = 0.6;
    app.controls.maxPolarAngle = Math.PI;
    //console.log(app.controls.getAzimuthalAngle ());
    app.controls.minAzimuthAngle = - Infinity;
    app.controls.maxAzimuthAngle = Infinity;
    
    in reply to: How to set camera parameter in puzzle? #42544
    Ralf
    Customer

    Okay, I tried snap and it works perfect for the Cam-position. Is it possible to set the ‘lookAt’ of an inactive camera as well?

    thanks, Ralf

    in reply to: How to set camera parameter in puzzle? #42459
    Ralf
    Customer

    In my case this didn’t solve the problem.

    I have several Orbit-Cams with different parameters. It is possible to tween from one cam to another.
    Because the startposition has to be defined, I have to reset the orbit-cams somewhere.
    The only way I found is to reset the active cam by tween in 0 sec. The causes a flicker if the cam was moved before.
    Is it possible to tween or reset an inactive cam. This would solve the flicker.

    Thanks Ralf

Viewing 3 posts - 1 through 3 (of 3 total)