Xav Posted June 7, 2016 Share Posted June 7, 2016 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 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted June 8, 2016 Share Posted June 8, 2016 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). Xav 1 Quote Link to comment Share on other sites More sharing options...
Xav Posted June 9, 2016 Author Share Posted June 9, 2016 Hi, I had not seen that there camera.lockedTarget ... It's perfect for my project. Thanks and sorry for my bad English Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.