summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/RigidBody/physRigidBodyContactEvent.h
blob: 20057597c1242fd700e9685ba1a5e9400c388726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <prim/seadDelegate.h>

class hkpContactPointEvent;

namespace ksys::phys {

class RigidBody;
struct RigidBodyCollisionMasks;

struct RigidBodyContactEvent {
    RigidBody* body;
    const RigidBodyCollisionMasks* collision_masks;
    const u32* shape_keys;
    const hkpContactPointEvent* event;
};

using RigidBodyContactCallback = sead::IDelegate1R<const RigidBodyContactEvent&, bool>;

}  // namespace ksys::phys