Home Reference Source Repository
import IK from 'dh3dlib/js/base/IK.js'
public class | source

IK

IK class

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public
public
public
public

linkNo: *

public
public
public
public

Method Summary

Public Methods
public

clone(): IK

clone IK object

public

limitAngle(limitMinAngle: float, limitMaxAngle: float, quat: Vector4): void

limit angle of joint

public

update(): void

update

Public Constructors

public constructor source

constructor

Public Members

public boneList: * source

public effectBone: * source

public iteration: number source

public linkNo: * source

public maxAngleList: * source

public minAngleList: * source

public targetBone: * source

public weight: number source

Public Methods

public clone(): IK source

clone IK object

Return:

IK

copied object

public limitAngle(limitMinAngle: float, limitMaxAngle: float, quat: Vector4): void source

limit angle of joint

Params:

NameTypeAttributeDescription
limitMinAngle float

minimum angle of joint

limitMaxAngle float

maximum angle of joint

quat Vector4

Quaternion

Return:

void

public update(): void source

update

Return:

void