Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ARInverseKinematic Class Reference

Animator rule inverse kinematic. More...

Inheritance diagram for Dragengine.Scenery.ARInverseKinematic:
Dragengine.Scenery.AnimatorRule

Public Member Functions

Constructors
ARInverseKinematic new ()
 Create animator rule. More...
 
Management
void setGoalPosition (Vector position)
 Set goal position. More...
 
void setGoalOrientation (Vector orientation)
 Set goal orientation. More...
 
void setLocalPosition (Vector position)
 Set local position. More...
 
void setLocalOrientation (Vector orientation)
 Set local orientation. More...
 
void setAdjustPosition (bool adjust)
 Set adjust position. More...
 
void setAdjustOrientation (bool adjust)
 Set adjust orientation. More...
 
void setSolverBone (String bone)
 Set solver bone or empty string to use none. More...
 
void setUseSolverBone (bool useSolverBone)
 Set use solver bone. More...
 
void setReachRange (float range)
 Set reach range in meters. More...
 
void setReachBone (String bone)
 Set reach bone name or empty string to use none. More...
 
void setReachCenter (Vector center)
 Set reach center. More...
 
void targetAddLink (ARInverseKinematicTarget target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (ARInverseKinematicTarget target)
 Remove all links from target. More...
 
- Public Member Functions inherited from Dragengine.Scenery.AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (AnimatorRuleBlendMode blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. More...
 
void setInvertBlendFactor (bool invertBlendFactor)
 Invert blend factor (1 - blendFactor). More...
 
void addBone (String bone)
 Add bone. More...
 
void removeAllBones ()
 Remove all bones. More...
 
void copyBonesFrom (AnimatorRule rule)
 Copy all bones from another rule. More...
 
void addVertexPositionSet (String vertexPositionSet)
 Add vertex position set. More...
 
void removeAllVertexPositionSets ()
 Remove all vertex position sets. More...
 
void copyVertexPositionSetsFrom (AnimatorRule rule)
 Copy all vertex position sets from another rule. More...
 

Additional Inherited Members

Constructors

Detailed Description

Animator rule inverse kinematic.

This is a native class. It can not be subclassed.

Member Function Documentation

◆ new()

ARInverseKinematic Dragengine.Scenery.ARInverseKinematic.new ( )

Create animator rule.

Reimplemented from Dragengine.Scenery.AnimatorRule.

◆ setAdjustOrientation()

void Dragengine.Scenery.ARInverseKinematic.setAdjustOrientation ( bool  adjust)

Set adjust orientation.

◆ setAdjustPosition()

void Dragengine.Scenery.ARInverseKinematic.setAdjustPosition ( bool  adjust)

Set adjust position.

Version
1.6

◆ setGoalOrientation()

void Dragengine.Scenery.ARInverseKinematic.setGoalOrientation ( Vector  orientation)

Set goal orientation.

◆ setGoalPosition()

void Dragengine.Scenery.ARInverseKinematic.setGoalPosition ( Vector  position)

Set goal position.

◆ setLocalOrientation()

void Dragengine.Scenery.ARInverseKinematic.setLocalOrientation ( Vector  orientation)

Set local orientation.

◆ setLocalPosition()

void Dragengine.Scenery.ARInverseKinematic.setLocalPosition ( Vector  position)

Set local position.

◆ setReachBone()

void Dragengine.Scenery.ARInverseKinematic.setReachBone ( String  bone)

Set reach bone name or empty string to use none.

◆ setReachCenter()

void Dragengine.Scenery.ARInverseKinematic.setReachCenter ( Vector  center)

Set reach center.

◆ setReachRange()

void Dragengine.Scenery.ARInverseKinematic.setReachRange ( float  range)

Set reach range in meters.

◆ setSolverBone()

void Dragengine.Scenery.ARInverseKinematic.setSolverBone ( String  bone)

Set solver bone or empty string to use none.

◆ setUseSolverBone()

void Dragengine.Scenery.ARInverseKinematic.setUseSolverBone ( bool  useSolverBone)

Set use solver bone.

◆ targetAddLink()

void Dragengine.Scenery.ARInverseKinematic.targetAddLink ( ARInverseKinematicTarget  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

◆ targetRemoveAllLinks()

void Dragengine.Scenery.ARInverseKinematic.targetRemoveAllLinks ( ARInverseKinematicTarget  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

The documentation for this class was generated from the following file: