CommonLibSSE (powerof3)
hkpRigidBody.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/H/hkpEntity.h"
4 
5 namespace RE
6 {
7  class hkpRigidBody : public hkpEntity
8  {
9  public:
10  inline static constexpr auto RTTI = RTTI_hkpRigidBody;
11 
12  ~hkpRigidBody() override; // 00
13 
14  // override (hkpEntity)
15  hkWorldOperation::Result SetShape(const hkpShape* a_shape) override; // 03
16  hkWorldOperation::Result UpdateShape(hkpShapeModifier* a_shapeModifier) override; // 04
17  hkMotionState* GetMotionState() override; // 05 - { return &motion.motionState; }
18 
19  // add
20  virtual hkpRigidBody* Clone() const; // 07
21  };
22  static_assert(sizeof(hkpRigidBody) == 0x2D0);
23 }
Definition: hkMotionState.h:11
Definition: hkpEntity.h:23
Definition: hkpRigidBody.h:8
~hkpRigidBody() override
hkWorldOperation::Result UpdateShape(hkpShapeModifier *a_shapeModifier) override
static constexpr auto RTTI
Definition: hkpRigidBody.h:10
hkWorldOperation::Result SetShape(const hkpShape *a_shape) override
hkMotionState * GetMotionState() override
virtual hkpRigidBody * Clone() const
Definition: hkpShape.h:31
Result
Definition: hkpWorldObject.h:20
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_hkpRigidBody
Definition: Offsets_RTTI.h:7710