How to rotate a camera around a point along an axis

I would like to know how to move a camera around a node. The camera should "look" to that point to.


Thanks

The camera is attached to a SCNNode, which has a .pivot property.

Adding the Camera node as a child of the observed node should do the trick.


Add a SCNLookAtConstraint to the camera node.

How to rotate a camera around a point along an axis
 
 
Q