CommonLibSSE NG
hkpRagdollConstraintData.h
Go to the documentation of this file.
1 #pragma once
2 
6 
7 namespace RE
8 {
10  {
11  public:
13  {
14  kMotor0 = 0,
17 
21 
25 
29 
30  kNUM
31  };
32 
33  inline static constexpr auto RTTI = RTTI_hkpRagdollConstraintData;
34  inline static constexpr auto VTABLE = VTABLE_hkpRagdollConstraintData;
35 
36  struct Atoms
37  {
46  };
47  static_assert(sizeof(Atoms) == 0x160);
48 
49  struct Runtime
50  {
51  hkpSolverResults solverResults[SolverResultType::kNUM]; // 00
53  float previousTargetAngle[3]; // 64
54  float coneAngle; // 70
55  };
56  static_assert(sizeof(Runtime) == 0x74);
57 
58  // members
59  Atoms atoms; // 18
60  };
61  static_assert(sizeof(hkpRagdollConstraintData) == 0x180);
62 }
Definition: hkpConstraintData.h:11
Definition: hkpRagdollConstraintData.h:10
static constexpr auto VTABLE
Definition: hkpRagdollConstraintData.h:34
static constexpr auto RTTI
Definition: hkpRagdollConstraintData.h:33
Atoms atoms
Definition: hkpRagdollConstraintData.h:56
SolverResultType
Definition: hkpRagdollConstraintData.h:13
@ kMotor2
Definition: hkpRagdollConstraintData.h:16
@ kNUM
Definition: hkpRagdollConstraintData.h:30
@ kLinear1
Definition: hkpRagdollConstraintData.h:27
@ kFriction2
Definition: hkpRagdollConstraintData.h:20
@ kLinear2
Definition: hkpRagdollConstraintData.h:28
@ kPlane
Definition: hkpRagdollConstraintData.h:24
@ kCone
Definition: hkpRagdollConstraintData.h:23
@ kMotor0
Definition: hkpRagdollConstraintData.h:14
@ kFriction0
Definition: hkpRagdollConstraintData.h:18
@ kMotor1
Definition: hkpRagdollConstraintData.h:15
@ kLinear0
Definition: hkpRagdollConstraintData.h:26
@ kFriction1
Definition: hkpRagdollConstraintData.h:19
@ kTwist
Definition: hkpRagdollConstraintData.h:22
Definition: hkpSolverResults.h:7
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_hkpRagdollConstraintData(689877, 397732, 0x1f598e8)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpRagdollConstraintData
Definition: Offsets_VTABLE.h:5027
Definition: hkpConstraintAtom.h:145
Definition: hkpConstraintAtom.h:81
Definition: hkpConstraintAtom.h:126
Definition: hkpRagdollConstraintData.h:37
struct hkpSetLocalTransformsConstraintAtom transforms
Definition: hkpRagdollConstraintData.h:38
struct hkpAngFrictionConstraintAtom angFriction
Definition: hkpRagdollConstraintData.h:41
struct hkpConeLimitConstraintAtom planesLimit
Definition: hkpRagdollConstraintData.h:44
struct hkpTwistLimitConstraintAtom twistLimit
Definition: hkpRagdollConstraintData.h:42
struct hkpSetupStabilizationAtom setupStabilization
Definition: hkpRagdollConstraintData.h:39
struct hkpRagdollMotorConstraintAtom ragdollMotors
Definition: hkpRagdollConstraintData.h:40
struct hkpBallSocketConstraintAtom ballSocket
Definition: hkpRagdollConstraintData.h:45
struct hkpConeLimitConstraintAtom coneLimit
Definition: hkpRagdollConstraintData.h:43
Definition: hkpRagdollConstraintData.h:50
float previousTargetAngle[3]
Definition: hkpRagdollConstraintData.h:53
float coneAngle
Definition: hkpRagdollConstraintData.h:54
hkpSolverResults solverResults[SolverResultType::kNUM]
Definition: hkpRagdollConstraintData.h:51
bool previousTargetInitialized[3]
Definition: hkpRagdollConstraintData.h:52
Definition: hkpConstraintAtom.h:166
Definition: hkpConstraintAtom.h:91
Definition: hkpConstraintAtom.h:73
Definition: hkpConstraintAtom.h:115