ksys/phys: Add more RigidBody functions

This commit is contained in:
Léo Lam
2022-01-26 01:39:59 +01:00
parent e4f1a053cd
commit e1f3e551cb
9 changed files with 254 additions and 19 deletions
+6 -1
View File
@@ -30,6 +30,7 @@ class System {
virtual ~System();
public:
float get64() const { return _64; }
float getTimeFactor() const { return mTimeFactor; }
GroupFilter* getGroupFilter(ContactLayerType type) const;
ContactMgr* getContactMgr() const { return mContactMgr; }
@@ -61,7 +62,11 @@ public:
void unlockWorld(ContactLayerType type, void* a = nullptr, int b = 0, bool c = false);
private:
u8 _28[0x74 - 0x28];
u8 _28[0x64 - 0x28];
float _64 = 1.0 / 30.0;
float _68 = 1.0 / 30.0;
float _6c = 1.0;
float _70 = 1.0 / 30.0;
float mTimeFactor{};
u8 _78[0xa8 - 0x78];
sead::CriticalSection mCS;