Drag[en]gine Script Module DragonScript
1.21
|
Animator rule inverse kinematic. More...
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 |
Animator rule inverse kinematic.
This is a native class. It can not be subclassed.
ARInverseKinematic Dragengine.Scenery.ARInverseKinematic.new | ( | ) |
Create animator rule.
Reimplemented from Dragengine.Scenery.AnimatorRule.
void Dragengine.Scenery.ARInverseKinematic.setAdjustOrientation | ( | bool | adjust | ) |
Set adjust orientation.
void Dragengine.Scenery.ARInverseKinematic.setAdjustPosition | ( | bool | adjust | ) |
Set adjust position.
void Dragengine.Scenery.ARInverseKinematic.setGoalOrientation | ( | Vector | orientation | ) |
Set goal orientation.
void Dragengine.Scenery.ARInverseKinematic.setGoalPosition | ( | Vector | position | ) |
Set goal position.
void Dragengine.Scenery.ARInverseKinematic.setLocalOrientation | ( | Vector | orientation | ) |
Set local orientation.
void Dragengine.Scenery.ARInverseKinematic.setLocalPosition | ( | Vector | position | ) |
Set local position.
void Dragengine.Scenery.ARInverseKinematic.setReachBone | ( | String | bone | ) |
Set reach bone name or empty string to use none.
void Dragengine.Scenery.ARInverseKinematic.setReachCenter | ( | Vector | center | ) |
Set reach center.
void Dragengine.Scenery.ARInverseKinematic.setReachRange | ( | float | range | ) |
Set reach range in meters.
void Dragengine.Scenery.ARInverseKinematic.setSolverBone | ( | String | bone | ) |
Set solver bone or empty string to use none.
void Dragengine.Scenery.ARInverseKinematic.setUseSolverBone | ( | bool | useSolverBone | ) |
Set use solver bone.
void Dragengine.Scenery.ARInverseKinematic.targetAddLink | ( | ARInverseKinematicTarget | target, |
int | link | ||
) |
Add link to target.
EInvalidParam | target is not a valid value. |
void Dragengine.Scenery.ARInverseKinematic.targetRemoveAllLinks | ( | ARInverseKinematicTarget | target | ) |
Remove all links from target.
EInvalidParam | target is not a valid value. |