All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | Properties | List of all members
IKEffector Class Reference

Effector for manipulating node based IK solvers. More...

Public Member Functions

IKSolver.Node GetNode (IKSolverFullBody solver)
 Gets the main node. More...
 
void PinToBone (float positionWeight, float rotationWeight)
 Pins the effector to the animated position of its bone. More...
 

Public Attributes

Transform bone
 The node transform used by this effector. More...
 
Transform target
 The target Transform (optional, you can use just the position and rotation instead). More...
 
float positionWeight
 The position weight. More...
 
float rotationWeight
 The rotation weight. More...
 
Vector3 position = Vector3.zero
 The effector position in world space. More...
 
Quaternion rotation = Quaternion.identity
 The effector rotation relative to default rotation in world space. More...
 
Vector3 positionOffset
 The position offset in world space. positionOffset will be reset to Vector3.zero each frame after the solver is complete. More...
 
bool effectChildNodes = true
 If false, child nodes will be ignored by this effector (if it has any). More...
 
float maintainRelativePositionWeight
 Keeps the node position relative to the triangle defined by the plane bones (applies only to end-effectors). More...
 

Properties

bool isEndEffector [get, set]
 Is this the last effector of a node chain? More...
 

Detailed Description

Effector for manipulating node based IK solvers.