CommonLibSSE NG
Loading...
Searching...
No Matches
hkpCharacterProxyListener.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/H/hkArray.h"
4#include "RE/H/hkVector4.h"
6
7namespace RE
8{
9 class hkContactPoint;
10 class hkpCharacterProxy;
11 class hkpRigidBody;
12 struct hkpRootCdPoint;
13 struct hkpSimplexSolverInput;
14
16 {
17 public:
18 // members
21 float objectImpulse; // 20
22 float timestep; // 24
23 float projectedVelocity; // 28
24 float objectMassInv; // 2C
26 std::uint64_t pad38; // 38
27 };
28 static_assert(sizeof(hkpCharacterObjectInteractionEvent) == 0x40);
29
31 {
32 public:
33 // members
36 };
37 static_assert(sizeof(hkpCharacterObjectInteractionResult) == 0x20);
38
40 {
41 public:
42 inline static constexpr auto RTTI = RTTI_hkpCharacterProxyListener;
43 inline static constexpr auto VTABLE = VTABLE_hkpCharacterProxyListener;
44
46
47 // add
48 virtual void ProcessConstraintsCallback(const hkpCharacterProxy* a_proxy, const hkArray<hkpRootCdPoint>& a_manifold, hkpSimplexSolverInput& a_input); // 01 - { return; }
49 virtual void ContactPointAddedCallback(const hkpCharacterProxy* a_proxy, const hkpRootCdPoint& a_point); // 02 - { return; }
50 virtual void ContactPointRemovedCallback(const hkpCharacterProxy* a_proxy, const hkpRootCdPoint& a_point); // 03 - { return; }
51 virtual void CharacterInteractionCallback(hkpCharacterProxy* a_proxy, hkpCharacterProxy* a_otherProxy, const hkContactPoint& a_contact); // 04 - { return; }
53
55 };
56 static_assert(sizeof(hkpCharacterProxyListener) == 0x8);
57}
Definition hkArray.h:189
Definition hkContactPoint.h:8
Definition hkVector4.h:9
Definition hkpCharacterProxy.h:24
Definition hkpCharacterProxyListener.h:40
static constexpr auto VTABLE
Definition hkpCharacterProxyListener.h:43
virtual void ContactPointRemovedCallback(const hkpCharacterProxy *a_proxy, const hkpRootCdPoint &a_point)
virtual void ProcessConstraintsCallback(const hkpCharacterProxy *a_proxy, const hkArray< hkpRootCdPoint > &a_manifold, hkpSimplexSolverInput &a_input)
virtual void ContactPointAddedCallback(const hkpCharacterProxy *a_proxy, const hkpRootCdPoint &a_point)
virtual void CharacterInteractionCallback(hkpCharacterProxy *a_proxy, hkpCharacterProxy *a_otherProxy, const hkContactPoint &a_contact)
virtual void ObjectInteractionCallback(hkpCharacterProxy *a_proxy, const hkpCharacterObjectInteractionEvent &a_input, hkpCharacterObjectInteractionResult &a_output)
static constexpr auto RTTI
Definition hkpCharacterProxyListener.h:42
Definition hkpRigidBody.h:8
Definition AbsorbEffect.h:6
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpCharacterProxyListener
Definition Offsets_VTABLE.h:5909
constexpr REL::VariantID RTTI_hkpCharacterProxyListener(690813, 398668, 0x1f678a0)
Definition hkpCharacterProxyListener.h:16
float objectMassInv
Definition hkpCharacterProxyListener.h:24
hkVector4 position
Definition hkpCharacterProxyListener.h:19
float projectedVelocity
Definition hkpCharacterProxyListener.h:23
hkpRigidBody * body
Definition hkpCharacterProxyListener.h:25
hkVector4 normal
Definition hkpCharacterProxyListener.h:20
std::uint64_t pad38
Definition hkpCharacterProxyListener.h:26
float objectImpulse
Definition hkpCharacterProxyListener.h:21
float timestep
Definition hkpCharacterProxyListener.h:22
Definition hkpCharacterProxyListener.h:31
hkVector4 impulsePosition
Definition hkpCharacterProxyListener.h:35
hkVector4 objectImpulse
Definition hkpCharacterProxyListener.h:34
Definition hkpRootCdPoint.h:11
Definition hkpSimplexSolver.h:22