UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

52 lines 1.33 kB
export class IKConstraint { /** * End bone that is going to be placed * @type {String} */ effector: string; /** * How far should effector be from the contact, positive values result in effector not reaching the surface, and negative result in penetration * @example For a foot effector this would be distance above the ground * @type {number} */ offset: number; /** * Positive distance from the surface at which IK starts to take effect, low value represents full effect and high value represents where the influence begins * @type {NumericInterval} */ distance: NumericInterval; /** * * @type {number} */ strength: number; /** * * @type {number} */ limit: number; /** * Solver to be used for this constraint * @type {string} */ solver: string; /** * * @param {IKConstraint} other */ copy(other: IKConstraint): void; clone(): IKConstraint; /** * * @param {IKConstraint} other * @returns {boolean} */ equals(other: IKConstraint): boolean; /** * * @return {number} */ hash(): number; } import { NumericInterval } from "../../../core/math/interval/NumericInterval.js"; //# sourceMappingURL=IKConstraint.d.ts.map