Jump to content

ArcRotateCamera target animation after tab switch


Hersir
 Share

Recommended Posts

Hi,

I have animation of camera target (works only if some other property like alpha is animated at the same time)  PG. If I switch tabs and wait a bit and come back to playground, alpha animation jumps to last frame as expected but target is moved to correct position but focus of camera stacks at last target positon before tab swicth.

probably related to the same issue described here:

 

Link to comment
Share on other sites

http://www.babylonjs-playground.com/index.html#PJCV9G#3

I was working this issue, too (I used beforeRender).  I thought maybe camera.update() in renderLoop would work, but no.

Strange issue.

I made a version 4, too.  When in 3.0, it works one way.  In 2.5, it acts differently... animating the camera itself as the target travels.

hmm.  No mention of any ArcCam stuff in What's New list.  Anyone know how to search github source for ALL changes to arcCam since 2.5 release? 

I see a panning inertia change (probably not pertinent), but I'm not good-at github power searching.  Could be more changes since 2.5.  Besides, 2.5 version of this playground... is not acting correct, either.  Camera should not translate (truck-left), I think.  Only pan.

Help welcome, as always.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...