ksys/phys: Add RayCastRequestMgr

This commit is contained in:
Léo Lam
2022-03-21 00:45:06 +01:00
parent 509d557731
commit ec37bc0018
11 changed files with 286 additions and 43 deletions
+8 -1
View File
@@ -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);