AppleSCNIKConstraint - UBogun/Xojo-iosLib GitHub Wiki

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

An SCNIKConstraint object automatically adjusts the orientations of one or more nodes in a specified hierarchy, applying inverse kinematics to make the chain reach toward a target point.

See the superclass for additional features of constraints

##Constructor Constructor (ChainRootNode As AppleSCNNode): Initializes an inverse kinematics constraint whose chain of nodes begins with the specified node.

Properties

ChainRootNode As AppleSCNNode: The parent node of the hierarchy affected by the constraint. (read-only)

TargetPosition As SCNVector3: The desired position for the constrained node, in the scene’s world coordinate space. Animatable.

Methods

MaxAllowedRotationAngle (Joint As AppleSCNNode) As Double: The rotation limit, in degrees, for the specified node.

MaxAllowedRotationAngle (Joint As AppleSCNNode, Assigns Value As Double): Sets the he rotation limit, in degrees, for the specified node.