AppleSCNLookAtConstraint - UBogun/Xojo-iosLib GitHub Wiki

Inherits from AppleSCNConstraint
Memory leak check: not yet done.
Status: complete.

An SCNLookAtConstraint object automatically adjusts a node’s orientation so that it always points toward another node. For example, you can use a look-at constraint to ensure that a camera or spotlight always follows the movement of a game character.

See the superclass for additional features of constraints

##Constructor Constructor (Target As AppleSCNNode): Creates a look-at constraint to look at a specified target node.

Properties

GimbalLockEnabled As Boolean: Whether constrained nodes are allowed to rotate.

Target As AppleSCNNode: The node toward which constrained nodes will point after being reoriented. (read-only)