CommonLibSSE (Parapets fork)
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
45
46 // add
47 virtual void ProcessConstraintsCallback(const hkpCharacterProxy* a_proxy, const hkArray<hkpRootCdPoint>& a_manifold, hkpSimplexSolverInput& a_input); // 01 - { return; }
48 virtual void ContactPointAddedCallback(const hkpCharacterProxy* a_proxy, const hkpRootCdPoint& a_point); // 02 - { return; }
49 virtual void ContactPointRemovedCallback(const hkpCharacterProxy* a_proxy, const hkpRootCdPoint& a_point); // 03 - { return; }
50 virtual void CharacterInteractionCallback(hkpCharacterProxy* a_proxy, hkpCharacterProxy* a_otherProxy, const hkContactPoint& a_contact); // 04 - { return; }
52
54 };
55 static_assert(sizeof(hkpCharacterProxyListener) == 0x8);
56}
Definition: hkArray.h:189
Definition: hkContactPoint.h:8
Definition: hkVector4.h:8
Definition: hkpCharacterProxy.h:24
Definition: hkpCharacterProxyListener.h:40
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 REL::ID RTTI_hkpCharacterProxyListener
Definition: Offsets_RTTI.h:7551
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