Skip to content

format

typescript
AimIK.poleWeight

class: AimIK

description

Used to control the weight of the pole vector.

The pole vector is a vector used to control the orientation of a bone. When dealing with complex bone structures or orientation targets, the PoleWeight can adjust the influence of the pole vector on the bone orientation. The PoleWeight value ranges from 0 to 1. When the PoleWeight value is 1.0, the pole vector will fully influence the bone orientation. When the PoleWeight value is 0.0, the pole vector will not have any effect on the bone orientation.

parameter

param_nametypedescription

reture

typedescription
numberThe weight of the pole vector.

code example

typescript
let obj = new GameObject();
let aimIk = obj.AddComponent<AimIK>(AimIK);
aimIk.poleWeight;