Loading...
Logo
Processing Forum
Hi all,

I am using the InteractiveAvatar class to track a position in 3-d space.  Using avatar.setPosition(x, y, z) I am able to keep the camera constantly focused on this moving point.  But I'd like the camera itself to be originating at another point x,y,z which is constantly moving.  How can I move the camera to this point without having to calculate the azimuth and inclination manually?

Replies(1)

I am no expert on 3D space in Processing, but the peasycam library has very nice controls.  And, as the name implies, it's pretty easy-peasy.  
If you haven't tried it, I recommend giving it a go.