| Field | Type | Offset | Description | Notes |
|---|---|---|---|---|
| kneeAxisType | u8 | 0x0 | The axial direction of the knee to use. | This field uses the following enum: IK_KNEE_AXIS_TYPE |
| useFootLocking | u8 | 0x1 [0] | If ON, feet and ankles will be locked. | This field is a boolean. |
| useFootEndRay | u8 | 0x1 [1] | If ON, a ray-cast from the toe is used. | This field is a boolean. |
| heightOffsetUpDir | u8 | 0x1 [2] | If ON, height offset is only applied in the vertical direction. | This field is a boolean. |
| padflag | dummy8 | 0x1 [3-7] | This field is padding. | |
| pad1 | dummy8 | 0x2 | This field is padding. | |
| originalGroundHeightMS | f32 | 0x4 | In metres. | |
| minAnkleHeightMS | f32 | 0x8 | The minimum height at which the ankle can be raised. In metres. | |
| maxAnkleHeightMS | f32 | 0xc | The maximum height at which the ankle can be raised. In metres. | |
| cosineMaxKneeAngle | f32 | 0x10 | Maximum angle at which the knee can be bent (cosine value). In degrees. | |
| cosineMinKneeAngle | f32 | 0x14 | Minimum angle at which the knee can be bent (cosine value). In degrees. | |
| footPlantedAnkleHeightMS | f32 | 0x18 | If the ankle is lower than this height, assume they are together. In centimetres. | |
| footRaisedAnkleHeightMS | f32 | 0x1c | If the ankle is higher than this height, assume they are apart. In centimetres. | |
| raycastDistanceUp | f32 | 0x20 | The distance above the ankle at which the raycast occurs. In centimetres. | |
| raycastDistanceDown | f32 | 0x24 | The distance below the ankle at which the raycast occurs. In centimetres. | |
| footEndLS_X | f32 | 0x28 | The x-coordinate of the toe. | |
| footEndLS_Y | f32 | 0x2c | The y-coordinate of the toe. | |
| footEndLS_Z | f32 | 0x30 | The z-coordinate of the toe. | |
| maxFootPitchRadians | angle32 | 0x34 | The maximum pitch (up/down) angle for the ankle. In radians. | |
| minFootPitchRadians | angle32 | 0x38 | The minimum pitch (up/down) angle for the ankle. In radians. | |
| maxFootRollRadians | angle32 | 0x3c | The maximum roll (left/right) angle for the ankle. In radians. | |
| minFootRollRadians | angle32 | 0x40 | The minimum roll (left/right) angle for the ankle. In radians. | |
| heightOffsetLimit | f32 | 0x44 | The clamp value (+/-) for IK error height correction. | |
| heightOffsetOnGain | f32 | 0x48 | The amount of gain to apply if height correction is on to reach target height. | |
| heightOffsetOffGain | f32 | 0x4c | The amount of gain to apply if height correction is off to reach original height. | |
| forwardUndulationRate | f32 | 0x50 | Specifies the amount of front/back lean against the slope when the slope is tilted. | |
| sideUndulationRate | f32 | 0x54 | Specifies the amount of right/left lean against the slope when the slope is tilted. | |
| forwardUndulationRateSlide | f32 | 0x58 | Specifies the amount of front/back lean against the slope when the slope is tilted, during a slide. | |
| sideUndulationRateSlide | f32 | 0x5c | Specifies the amount of right/left lean against the slope when the slope is tilted, during a slide. | |
| undulationGain | f32 | 0x60 | The gain value used for tilting the slope when the slope is tilted. | |
| undulationGainSlide | f32 | 0x64 | The gain value used for tilting the slope when the slope is tilted, during a slide. | |
| undulationGainDefaultToSlide | f32 | 0x68 | Interpolated gain value when the slope enters a slide from normal. | |
| undulationGainSlideToDefault | f32 | 0x6c | Interpolated gain value when the slope returns to normal after a slide. | |
| lockedDisableMinAngle | f32 | 0x70 | The minimum knee angle to unlock foot/ankle when locked. In degrees. | |
| lockedDisableMaxAngle | f32 | 0x74 | The maximum knee angle to unlock foot/ankle when locked. In degrees. | |
| lockedDisableDirAngle | f32 | 0x78 | The angle of the cone to unlock foot/ankle when locked. In degrees. | |
| nextLockFactorThreshold | f32 | 0x7c | The threshold of the coefficient after the foot/ankle is unlocked at which it can be relocked. | |
| pad3 | dummy8 | 0x80 | This field is padding. |
| Option | Description | Notes |
|---|---|---|
0 | + X | |
1 | + Y | |
2 | + Z | |
3 | - X | |
4 | - Y | |
5 | - Z |