Site Tools


ds1-refmat:param:skeletonparam

SkeletonParam

Fields

Field Type Offset Description Notes
neckTurnGain f32 0x0 The amount of gain for neck turning. The higher the value, the faster it turns.
originalGroundHeightMS s16 0x4 In metres.
minAnkleHeightMS s16 0x6 The minimum height at which the ankle can be raised. In metres.
maxAnkleHeightMS s16 0x8 The maximum height at which the ankle can be raised. In metres.
cosineMaxKneeAngle s16 0xa Maximum angle at which the knee can be bent (cosine value). In degrees.
cosineMinKneeAngle s16 0xc Minimum angle at which the knee can be bent (cosine value). In degrees.
footPlantedAnkleHeightMS s16 0xe If the ankle is lower than this height, assume they are together. In centimetres.
footRaisedAnkleHeightMS s16 0x10 If the ankle is higher than this height, assume they are apart. In centimetres.
raycastDistanceUp s16 0x12 The distance above the ankle at which the raycast occurs. In centimetres.
raycastDistanceDown s16 0x14 The distance below the ankle at which the raycast occurs. In centimetres.
footEndLS_X s16 0x16 The x-coordinate of the toe.
footEndLS_Y s16 0x18 The y-coordinate of the toe.
footEndLS_Z s16 0x1a The z-coordinate of the toe.
onOffGain s16 0x1c Determines the amount of gain applied when IK is toggled on and off.
groundAscendingGain s16 0x1e Determines the amount of gain applied when the ground height increases.
groundDescendingGain s16 0x20 Determines the amount of gain applied when the ground height decreases.
footRaisedGain s16 0x22 Determines the amount of gain applied when a foot is raised.
footPlantedGain s16 0x24 Determines the amount of gain applied when a foot is planted to the ground.
footUnlockGain s16 0x26 Determines the amount of gain applied when a foot is locked or unlocked.
kneeAxisType u8 0x28 The axial direction of the knee to use. This field uses the following enum: SKELETON_PARAM_KNEE_AXIS_DIR
useFootLocking u8 0x29 If ON, feet and ankles will be locked. This field is a boolean.
footPlacementOn u8 0x2a If ON, foot placement is active. This field is a boolean.
twistKneeAxisType u8 0x2b Axial direction that ignores rotation of the knee joint for twisting. This field uses the following enum: SKELETON_PARAM_KNEE_AXIS_DIR
neckTurnPriority s8 0x2c The lower it is, the faster it will turn. -1 does not turn the head.
neckTurnMaxAngle u8 0x2d The maximum rotation angle for this joint. Can't bend beyond this angle.
pad1 dummy8 0x2e This field is padding.

Enums

SKELETON_PARAM_KNEE_AXIS_DIR

Option Description Notes
0 x
1 y
2 z
3 -x
4 -y
5 -z
ds1-refmat/param/skeletonparam.txt · Last modified: by admin