Creates a bone structure. (path) - HeadNode - Head + x-rotation + position (path).e1 - YRotNode - y-rotation (path).e1.e1 - ZRotNode - z-rotation (+ geometry) (path).e1.e1.e1 - TailNode - Tail (path).e1.e1.eX - optional additional nodes
The path for the head of the bone
Optional
description: stringName of the bone (e.g. "Bone 1")
Private
Addsibling nodes to the tail node
Private
GeometryPrivate
Geometryhead node and node for x-rotation & position (path)
Private
Pathtail node (path.e1.e1.e1)
node for y-rotation (path.e1)
node for z-rotation and geometry (path.e1.e1)
Adds a sibling node (path.e1.e1.eX) to the tail node (path.e1.e1.e1) and returns it's id (X). You need this id for SetEvaluatorParameters. And you can access the node by Bone.AdditionalNodes[id].
id of the additional node
The evaluator to add
Optional
description: stringDescription of node
Optional
offsetPosition: number[][posX, posY, posZ]
Optional
offsetRotation: number[][rotX, rotY, rotZ]
Optional
scale: number[][scaX, scaY, scaZ]
Adds a sibling node (path.e1.e1.eX) to the tail node (path.e1.e1.e1) and returns it's id (X). You can access the node by Bone.AdditionalNodes[id].
Optional
description: stringDescription of node
Optional
offsetPosition: number[][posX, posY, posZ]
Optional
offsetRotation: number[][rotX, rotY, rotZ]
Optional
scale: number[][scaX, scaY, scaZ]
Pushes the created nodes into given response object (bones + optional additional nodes). Requires that the response.EvaluatorParameters array is already initialized.
EvalResponse
Optional
debug: booleandebug logs for evaluator params
Sets the geometry of the bone. Must be set first before changing other geometry properties like scale etc.
-1 if no new node was created, else the id of the additional node
name of the geometry
Optional
offsetPos: number[](optional) if set this creates a new node especially for the geometry and moves the geometry to given offset position. [posX, posY, posZ]
Optional
offsetRot: number[](optional) if set this creates a new node especially for the geometry and rotates the geometry to given offset rotation. [rotX, rotY, rotZ]
Optional
scale: number[](optional) if set this creates a new node especially for the geometry and scales the geometry to given values. [scaX, scaY, scaZ]
Generated using TypeDoc
Bone structure for inverse kinematics interactor.