Jump to content

Arcrotate camera relation betwen target.position and camera.position(alpha,beta,radius)


Samuel Girardin
 Share

Recommended Posts

Hi, 

I try to get this behavior (I try to reproduce it with those 2 small (<100kb) videos attached ) with the arc rotate camera. 

I don't think arcrotate cam handle that by default; and I can't find the relation I need between camera target and camera.position(alpha, beta, radius).  

Basically i need a normal arc rotate camera, but under a certain radius, I need to change the  target position, position.beta, and maybe radius to focus on my object. 

I continue to work on that that this afternoon, if someone has a good idea ?

Thanks ! 

camview.mp4

leftviewport.mp4

Link to comment
Share on other sites

Just changing beta is not enough. In fact your solution is the same when your set camera.lowerRadiusLimit = value (radius = zoom in arc rotate cam). You still rotate around your initial camera target. Here is a screenshot of what I need.

Drawing this draft help me to better understand what I need. Still working on it. Any idea welcome ! And please tell me if I'm totally wrong !

 

001.jpg

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...