Jump to content

Target camera animation


Xav
 Share

Recommended Posts

Hello,

I want to make a target camera since 3d software with a aim constraint between camera and is target and animate .

This camera rig is better for me to animate because i do not have to animate the rotations.

To do this i use scene register before render like this:

http://www.babylonjs-playground.com/#1ICOZQ#0

Do you know if he would have a better solution.

 

Thanks ;)

Link to comment
Share on other sites

Hi @Xav

   I'm not exactly sure what you ask, but perhaps camera.lockedTarget  (line 11 in below demo) would work?

http://www.babylonjs-playground.com/#1ICOZQ#1

Babylon.js also has a followCamera (free and arcRotate versions), but I'm not sure if that would help.  Standard free followCamera is lightly documented in our camera tutorial

ArcRotate followCamera is... umm... undocumented?  Died?  Not sure.  I can't find it anymore.

Hope this helps.  If not, perhaps re-explain what you wish.  I don't read very well, and I get confused easily. (As a baby, I was a climber, and fell on my head often).  :)

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