diff options
| author | Léo Lam <leo@leolam.fr> | 2022-03-21 00:45:06 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-03-21 03:00:36 +0100 |
| commit | ec37bc00181e69a88a410e2807d5f560bae81529 (patch) | |
| tree | 1ba1830c665f547c1720ef296d94486fa4b5bb72 /src/KingSystem/Physics/System/physSystem.h | |
| parent | 509d557731ce02136f79026ce1e1d5683c93876f (diff) | |
ksys/phys: Add RayCastRequestMgr
Diffstat (limited to 'src/KingSystem/Physics/System/physSystem.h')
| -rw-r--r-- | src/KingSystem/Physics/System/physSystem.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physSystem.h b/src/KingSystem/Physics/System/physSystem.h index 1f9647c1..b9439b99 100644 --- a/src/KingSystem/Physics/System/physSystem.h +++ b/src/KingSystem/Physics/System/physSystem.h @@ -17,6 +17,7 @@ class ContactLayerCollisionInfoGroup; class ContactMgr; class GroupFilter; class MaterialTable; +class RayCastForRequest; class RigidBody; class RigidBodyRequestMgr; class ContactPointInfo; @@ -40,7 +41,6 @@ class System { public: float get64() const { return _64; } float getTimeFactor() const { return mTimeFactor; } - GroupFilter* getGroupFilter(ContactLayerType type) const; ContactMgr* getContactMgr() const { return mContactMgr; } RigidBodyRequestMgr* getRigidBodyRequestMgr() const { return mRigidBodyRequestMgr; } SystemData* getSystemData() const { return mSystemData; } @@ -94,6 +94,13 @@ public: void unlockWorld(ContactLayerType type, const char* description = nullptr, int b = 0, OnlyLockIfNeeded only_lock_if_needed = OnlyLockIfNeeded::No); + // 0x0000007101216ac8 + GroupFilter* getGroupFilter(ContactLayerType type) const; + + // 0x0000007101216ae8 + RayCastForRequest* allocRayCastRequest(SystemGroupHandler* group_handler = nullptr, + GroundHit ground_hit = GroundHit::HitAll); + // TODO: rename // 0x0000007101216c60 void setEntityContactListenerField90(bool value); |
