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.

Bug – Camera zoom in/out glitch when changing camera parameters via puzzles

Home Forums Bug Reports and Feature Requests Bug – Camera zoom in/out glitch when changing camera parameters via puzzles

  • This topic has 3 replies, 2 voices, and was last updated 1 month ago by xeon.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #52242
    nitromouse
    Customer

    Task: Tween camera position via puzzles and when finished
    change camera parameters
    – set Orbit min vertical angle : 20
    – set Orbit max vertical angle: 160
    – set Orbit min horizontal angle: 190
    – set Orbit max horizontal angle: 340
    – set orbit min distance(persp): 8
    – set orbit max distance(persp): 30

    Problem(bug): Zoom via mouse scroll makes camera glitchy: camera suddely changes position, zoom in stops working, zoom out is too fast or not respoding. Glitch is how I would describe this behaviour

    Work around:
    The only way I could fix this is by changing active camera to one with desirable parameters at the end of camera tween animation

    • This topic was modified 1 month ago by nitromouse.
    • This topic was modified 1 month ago by nitromouse.
    Attachments:
    You must be logged in to view attached files.
    #52261
    xeon
    Customer

    I use the switch cameras as well. It really depends on the application you are building and what you are trying to accomplish.

    The following is a guess as to why this happens: I think its a function of your camera limits set by min and max distance. This really is a guess.

    You may want to change your orbit max and min distance first.
    Your camera is limited by its initial min and max. It will stop at the the limit and then when you switch cameras bounce to the limits of the new camera. However, if those limits overlap and the camera is inside the overlapping regions it shouldn’t bounce.

    As a suggestion, I would start my puzzles with the camera limit change before adjusting any other parameters.

    good luck

    Xeon
    Route 66 Digital
    Interactive Solutions

    #52266
    nitromouse
    Customer

    Thanks xeon!
    Yes, I understand these intersections of limits. But my problem occurs when I use only one camera when I start to change its limits and then zoom starts to do crazy things)
    I’m glad that at least I have found a work around

    #52267
    xeon
    Customer

    Perhaps you might consider dollying camera position to scroll input rather than zoom/fov?

    Xeon
    Route 66 Digital
    Interactive Solutions

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.