CommonLibSSE NG
Loading...
Searching...
No Matches
hkpConstraintAtom.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
6 {
7 public:
9 {
11
13
17
20
26
28
35
37
41
43
45
47
48 // modifiers
55
56 kMAX
57 };
58
59 enum SolvingMethod : uint8_t
60 {
62 kOld = 1,
63 };
64
65 // members
67 };
68 static_assert(sizeof(hkpConstraintAtom) == 0x2);
69
71 {
72 bool enabled; // 02
73 float maxAngle; // 04
74 uint64_t pad08; // 08
75 };
76 static_assert(sizeof(hkpSetupStabilizationAtom) == 0x10);
77
79 {
81 uint8_t bodiesToNotify; // 03
83 float maxImpulse; // 08
85 };
86 static_assert(sizeof(hkpBallSocketConstraintAtom) == 0x10);
87
89 {
90 uint32_t pad02; // 02
93 };
94 static_assert(sizeof(hkpSetLocalTransformsConstraintAtom) == 0x90);
95
97 {
98 uint8_t freeRotationAxis; // 02
99 };
100 static_assert(sizeof(hkp2dAngConstraintAtom) == 0x4);
101
103 {
104 bool enabled; // 02
105 uint8_t limitAxis; // 03
106 float minAngle; // 04
107 float maxAngle; // 08
109 };
110 static_assert(sizeof(hkpAngLimitConstraintAtom) == 0x10);
111
113 {
114 bool enabled; // 02
115 uint8_t twistAxis; // 03
116 uint8_t refAxis; // 04
117 float minAngle; // 08
118 float maxAngle; // 0C
120 };
121 static_assert(sizeof(hkpTwistLimitConstraintAtom) == 0x14);
122
124 {
125 enum MeasurementMode : uint8_t
126 {
129 };
130
131 bool enabled; // 02
132 uint8_t twistAxisInA; // 03
133 uint8_t refAxisInB; // 04
136 float minAngle; // 08
137 float maxAngle; // 0C
139 };
140 static_assert(sizeof(hkpConeLimitConstraintAtom) == 0x14);
141
143 {
144 bool enabled; // 02
145 uint8_t firstFrictionAxis; // 03
146 uint8_t numFrictionAxes; // 04
147 float maxFrictionTorque; // 08
148 };
149 static_assert(sizeof(hkpAngFrictionConstraintAtom) == 0xC);
150
152 {
153 bool enabled; // 02
154 uint8_t motorAxis; // 03
155 int16_t initializedOffset; // 04
158 float targetAngle; // 0C
159 uintptr_t motor; // 10
160 };
161 static_assert(sizeof(hkpAngMotorConstraintAtom) == 0x18);
162
164 {
165 bool enabled; // 02
166 int16_t initializedOffset; // 04
169 uintptr_t motors[3]; // 40
170 };
171 static_assert(sizeof(hkpRagdollMotorConstraintAtom) == 0x60);
172}
Definition hkMatrix3.h:8
Definition hkTransform.h:9
Definition hkBaseTypes.h:36
Definition PCH.h:223
Definition AbsorbEffect.h:6
Definition hkpConstraintAtom.h:97
uint8_t freeRotationAxis
Definition hkpConstraintAtom.h:98
Definition hkpConstraintAtom.h:143
bool enabled
Definition hkpConstraintAtom.h:144
uint8_t firstFrictionAxis
Definition hkpConstraintAtom.h:145
float maxFrictionTorque
Definition hkpConstraintAtom.h:147
uint8_t numFrictionAxes
Definition hkpConstraintAtom.h:146
Definition hkpConstraintAtom.h:103
float maxAngle
Definition hkpConstraintAtom.h:107
float angularLimitsTauFactor
Definition hkpConstraintAtom.h:108
float minAngle
Definition hkpConstraintAtom.h:106
uint8_t limitAxis
Definition hkpConstraintAtom.h:105
bool enabled
Definition hkpConstraintAtom.h:104
Definition hkpConstraintAtom.h:152
float targetAngle
Definition hkpConstraintAtom.h:158
int16_t correspondingAngLimitSolverResultOffset
Definition hkpConstraintAtom.h:157
uint8_t motorAxis
Definition hkpConstraintAtom.h:154
uintptr_t motor
Definition hkpConstraintAtom.h:159
int16_t initializedOffset
Definition hkpConstraintAtom.h:155
bool enabled
Definition hkpConstraintAtom.h:153
int16_t previousTargetAngleOffset
Definition hkpConstraintAtom.h:156
Definition hkpConstraintAtom.h:79
uint8_t bodiesToNotify
Definition hkpConstraintAtom.h:81
SolvingMethod solvingMethod
Definition hkpConstraintAtom.h:80
hkUFloat8 velocityStabilizationFactor
Definition hkpConstraintAtom.h:82
float maxImpulse
Definition hkpConstraintAtom.h:83
float inertiaStabilizationFactor
Definition hkpConstraintAtom.h:84
Definition hkpConstraintAtom.h:124
float minAngle
Definition hkpConstraintAtom.h:136
MeasurementMode angleMeasurementMode
Definition hkpConstraintAtom.h:134
MeasurementMode
Definition hkpConstraintAtom.h:126
@ kZeroWhenVectorsPerpendicular
Definition hkpConstraintAtom.h:128
@ kZeroWhenVectorsAligned
Definition hkpConstraintAtom.h:127
uint8_t memOffsetToAngleOffset
Definition hkpConstraintAtom.h:135
float maxAngle
Definition hkpConstraintAtom.h:137
uint8_t twistAxisInA
Definition hkpConstraintAtom.h:132
uint8_t refAxisInB
Definition hkpConstraintAtom.h:133
bool enabled
Definition hkpConstraintAtom.h:131
float angularLimitsTauFactor
Definition hkpConstraintAtom.h:138
Definition hkpConstraintAtom.h:6
SolvingMethod
Definition hkpConstraintAtom.h:60
@ kOld
Definition hkpConstraintAtom.h:62
@ kStabilized
Definition hkpConstraintAtom.h:61
stl::enumeration< AtomType, uint16_t > type
Definition hkpConstraintAtom.h:66
AtomType
Definition hkpConstraintAtom.h:9
@ kStiffSpring
Definition hkpConstraintAtom.h:19
@ kModifier_CenterOfMassChanger
Definition hkpConstraintAtom.h:54
@ kRagdollMotor
Definition hkpConstraintAtom.h:36
@ kLinLimit
Definition hkpConstraintAtom.h:23
@ kSetupStabilization
Definition hkpConstraintAtom.h:42
@ kCogWheel
Definition hkpConstraintAtom.h:40
@ kPulley
Definition hkpConstraintAtom.h:38
@ kAngFriction
Definition hkpConstraintAtom.h:33
@ kSetLocalTransforms
Definition hkpConstraintAtom.h:14
@ kInvalid
Definition hkpConstraintAtom.h:10
@ kLinMotor
Definition hkpConstraintAtom.h:25
@ kBallSocket
Definition hkpConstraintAtom.h:18
@ kModifier_SoftContact
Definition hkpConstraintAtom.h:49
@ kModifier_ViscousSurface
Definition hkpConstraintAtom.h:51
@ kLinFriction
Definition hkpConstraintAtom.h:24
@ kLin
Definition hkpConstraintAtom.h:21
@ kSetLocalRotations
Definition hkpConstraintAtom.h:16
@ kLinSoft
Definition hkpConstraintAtom.h:22
@ kModifier_MovingSurface
Definition hkpConstraintAtom.h:52
@ kTwistLimit
Definition hkpConstraintAtom.h:31
@ kRackAndPinion
Definition hkpConstraintAtom.h:39
@ kModifier_MassChanger
Definition hkpConstraintAtom.h:50
@ kAngMotor
Definition hkpConstraintAtom.h:34
@ kConeLimit
Definition hkpConstraintAtom.h:32
@ kSetLocalTranslations
Definition hkpConstraintAtom.h:15
@ kOverwritePivot
Definition hkpConstraintAtom.h:44
@ kAngLimit
Definition hkpConstraintAtom.h:30
@ k2DAng
Definition hkpConstraintAtom.h:27
@ kMAX
Definition hkpConstraintAtom.h:56
@ kContact
Definition hkpConstraintAtom.h:46
@ kAng
Definition hkpConstraintAtom.h:29
@ kModifier_IgnoreConstraint
Definition hkpConstraintAtom.h:53
@ kBridge
Definition hkpConstraintAtom.h:12
Definition hkpConstraintAtom.h:164
int16_t initializedOffset
Definition hkpConstraintAtom.h:166
int16_t previousTargetAnglesOffset
Definition hkpConstraintAtom.h:167
hkMatrix3 target_bRca
Definition hkpConstraintAtom.h:168
uintptr_t motors[3]
Definition hkpConstraintAtom.h:169
bool enabled
Definition hkpConstraintAtom.h:165
Definition hkpConstraintAtom.h:89
uint32_t pad02
Definition hkpConstraintAtom.h:90
hkTransform transformA
Definition hkpConstraintAtom.h:91
hkTransform transformB
Definition hkpConstraintAtom.h:92
Definition hkpConstraintAtom.h:71
float maxAngle
Definition hkpConstraintAtom.h:73
bool enabled
Definition hkpConstraintAtom.h:72
uint64_t pad08
Definition hkpConstraintAtom.h:74
Definition hkpConstraintAtom.h:113
uint8_t refAxis
Definition hkpConstraintAtom.h:116
float maxAngle
Definition hkpConstraintAtom.h:118
float angularLimitsTauFactor
Definition hkpConstraintAtom.h:119
bool enabled
Definition hkpConstraintAtom.h:114
uint8_t twistAxis
Definition hkpConstraintAtom.h:115
float minAngle
Definition hkpConstraintAtom.h:117