CommonLibSSE NG
Loading...
Searching...
No Matches
hkpCollisionEvent.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
5 class hkpRigidBody;
6 class hkpSimpleConstraintContactMgr;
7
9 {
10 public:
11 enum class CallbackSource
12 {
13 kSourceA = 0,
14 kSourceB = 1,
16 };
17
18 hkpCollisionEvent(CallbackSource a_source, hkpRigidBody* a_bodyA, hkpRigidBody* a_bodyB, hkpSimpleConstraintContactMgr* a_mgr) :
19 source(a_source), contactMgr(a_mgr)
20 {
21 bodies[0] = a_bodyA;
22 bodies[1] = a_bodyB;
23 }
24
25 // members
28 hkpSimpleConstraintContactMgr* contactMgr; // 14
29 };
30 static_assert(sizeof(hkpCollisionEvent) == 0x20);
31}
Definition hkpRigidBody.h:8
Definition AbsorbEffect.h:6
Definition hkpCollisionEvent.h:9
hkpRigidBody * bodies[2]
Definition hkpCollisionEvent.h:27
CallbackSource source
Definition hkpCollisionEvent.h:26
CallbackSource
Definition hkpCollisionEvent.h:12
hkpSimpleConstraintContactMgr * contactMgr
Definition hkpCollisionEvent.h:28
hkpCollisionEvent(CallbackSource a_source, hkpRigidBody *a_bodyA, hkpRigidBody *a_bodyB, hkpSimpleConstraintContactMgr *a_mgr)
Definition hkpCollisionEvent.h:18