Setting Camera position and direction with 2 null objects

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
Gsand
Posts: 28
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California

Setting Camera position and direction with 2 null objects

Post by Gsand » 11 Sep 2018, 21:32

I'm sure this is in Ventuz and I'm just not seeing it.

I'm wanting to use 2 objects (really just their XYZ axis coordinates) to control a camera.
One object would give the camera its XYZ world coordinates.
Second object would inform the focal point the camera should be looking at.
The Pan and Tilt would be calculated from these 2 vertex position.

Thanks
Greg

User avatar
lerou
Posts: 290
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Setting Camera position and direction with 2 null objects

Post by lerou » 12 Sep 2018, 09:07

set the camera to "look at" and you get both a position and a target. Bind them to whatever you need.

User avatar
Gsand
Posts: 28
Joined: 24 Oct 2016, 18:00
Location: Los Angeles, California

Re: Setting Camera position and direction with 2 null objects

Post by Gsand » 12 Sep 2018, 16:14

Huh...
Looks like I had my camera FOV Relation set to Layer :oops:
witched it back to None and like magic all the tracking started to work as expected.

Thanks for confirming that was the right way to do this.

Post Reply