Drag[en]gine Script Module DragonScript Script API  1.0
ARInverseKinematic Class Reference

Animator rule inverse kinematic. More...

Inheritance diagram for ARInverseKinematic:
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 setAdjustOrientation (bool adjustOrientation)
 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 (Strnig bone)
 Set reach bone name or empty string to use none. More...
 
void setReachCenter (Vector center)
 Set reach center. More...
 
void targetAddLink (int target, int link)
 Add link to target. More...
 
void targetRemoveAllLinks (int target)
 Remove all links from target. More...
 
- Public Member Functions inherited from AnimatorRule
void setEnabled (bool enabled)
 Set if rule is enabled. More...
 
void setBlendMode (int blendMode)
 Set blend mode. More...
 
void setBlendFactor (float blendFactor)
 Set blend factor clamped to the range from 0 to 1. 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...
 

Static Public Attributes

Targets.
static final int TARGET_BLEND_FACTOR = 0
 Blend factor target. More...
 
static final int TARGET_GOAL_POSITION = 1
 Goal position target. More...
 
static final int TARGET_GOAL_ORIENTATION = 2
 Goal orientation target. More...
 
static final int TARGET_LOCAL_POSITION = 3
 Local position target. More...
 
static final int TARGET_LOCAL_ORIENTATION = 4
 Local orientation target. More...
 
static final int TARGET_REACH_RANGE = 5
 Reach range target. More...
 
static final int TARGET_REACH_CENTER = 6
 Reach center target. More...
 
- Static Public Attributes inherited from AnimatorRule
static final int BLEND = 0
 Blend from the existing state over to the state produced by the rule. More...
 
static final int OVERLAY = 1
 Overlay the existing state with to the state produced by the rule. More...
 

Additional Inherited Members

- Protected Member Functions inherited from AnimatorRule
AnimatorRule new ()
 Create animator rule. More...
 

Detailed Description

Animator rule inverse kinematic.

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

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ new()

Create animator rule.

§ setAdjustOrientation()

void setAdjustOrientation ( bool  adjustOrientation)

Set adjust orientation.

§ setGoalOrientation()

void setGoalOrientation ( Vector  orientation)

Set goal orientation.

§ setGoalPosition()

void setGoalPosition ( Vector  position)

Set goal position.

§ setLocalOrientation()

void setLocalOrientation ( Vector  orientation)

Set local orientation.

§ setLocalPosition()

void setLocalPosition ( Vector  position)

Set local position.

§ setReachBone()

void setReachBone ( Strnig  bone)

Set reach bone name or empty string to use none.

§ setReachCenter()

void setReachCenter ( Vector  center)

Set reach center.

§ setReachRange()

void setReachRange ( float  range)

Set reach range in meters.

§ setSolverBone()

void setSolverBone ( String  bone)

Set solver bone or empty string to use none.

§ setUseSolverBone()

void setUseSolverBone ( bool  useSolverBone)

Set use solver bone.

§ targetAddLink()

void targetAddLink ( int  target,
int  link 
)

Add link to target.

Exceptions
EInvalidParamtarget is not a valid value.

§ targetRemoveAllLinks()

void targetRemoveAllLinks ( int  target)

Remove all links from target.

Exceptions
EInvalidParamtarget is not a valid value.

Member Data Documentation

§ TARGET_BLEND_FACTOR

final int TARGET_BLEND_FACTOR = 0
static

Blend factor target.

§ TARGET_GOAL_ORIENTATION

final int TARGET_GOAL_ORIENTATION = 2
static

Goal orientation target.

§ TARGET_GOAL_POSITION

final int TARGET_GOAL_POSITION = 1
static

Goal position target.

§ TARGET_LOCAL_ORIENTATION

final int TARGET_LOCAL_ORIENTATION = 4
static

Local orientation target.

§ TARGET_LOCAL_POSITION

final int TARGET_LOCAL_POSITION = 3
static

Local position target.

§ TARGET_REACH_CENTER

final int TARGET_REACH_CENTER = 6
static

Reach center target.

§ TARGET_REACH_RANGE

final int TARGET_REACH_RANGE = 5
static

Reach range target.


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