Rotates a hierarchy of bones to make a Transform aim at a target. If there are problems with continuity and the solver get's jumpy, make sure to keep IKPosition at a safe distance from the transform and try decreasing solver and bone weights.
More...
|
| float | GetAngle () |
| | Gets the angular offset. More...
|
| |
| bool | SetChain (Transform[] hierarchy, Transform root) |
| | Rebuild the bone hierarcy and reinitiate the solver. More...
|
| |
| void | AddBone (Transform bone) |
| | Adds a bone to the chain. More...
|
| |
| override void | StoreDefaultLocalState () |
| | Stores the default local state for the bones used by the solver. More...
|
| |
| override void | FixTransforms () |
| | Fixes all the Transforms used by the solver to their initial state. More...
|
| |
| override bool | IsValid (ref string message) |
| | Determines whether this instance is valid or not. If returns false, also fills in an error message. More...
|
| |
| override IKSolver.Point[] | GetPoints () |
| | Gets all the points used by the solver. More...
|
| |
| override IKSolver.Point | GetPoint (Transform transform) |
| | Gets the point with the specified Transform. More...
|
| |
| bool | IsValid () |
| | Determines whether this instance is valid or not. More...
|
| |
| void | Initiate (Transform root) |
| | Initiate the solver with specified root Transform. Use only if this IKSolver is not a member of an IK component. More...
|
| |
| void | Update () |
| | Updates the IK solver. Use only if this IKSolver is not a member of an IK component or the IK component has been disabled and you intend to manually control the updating. More...
|
| |
| virtual Vector3 | GetIKPosition () |
| | Gets the IK position. NOTE: You are welcome to read IKPosition directly, this method is here only to match the Unity's built in IK API. More...
|
| |
| void | SetIKPosition (Vector3 position) |
| | Sets the IK position. NOTE: You are welcome to set IKPosition directly, this method is here only to match the Unity's built in IK API. More...
|
| |
| float | GetIKPositionWeight () |
| | Gets the IK position weight. NOTE: You are welcome to read IKPositionWeight directly, this method is here only to match the Unity's built in IK API. More...
|
| |
| void | SetIKPositionWeight (float weight) |
| | Sets the IK position weight. NOTE: You are welcome to set IKPositionWeight directly, this method is here only to match the Unity's built in IK API. More...
|
| |
| Transform | GetRoot () |
| | Gets the root Transform. More...
|
| |
| delegate void | UpdateDelegate () |
| | Delegates solver update events. More...
|
| |
| delegate void | IterationDelegate (int i) |
| | Delegates solver iteration events. More...
|
| |
Rotates a hierarchy of bones to make a Transform aim at a target. If there are problems with continuity and the solver get's jumpy, make sure to keep IKPosition at a safe distance from the transform and try decreasing solver and bone weights.