Physics working

This commit is contained in:
Confideo-IOM
2026-08-24 20:59:24 +01:00
parent 20c0794d10
commit 1253571c17
146 changed files with 4469 additions and 1273 deletions
@@ -0,0 +1,31 @@
#ifndef HYDRADELETEPHYSICSOBJECTTASK
#define HYDRADELETEPHYSICSOBJECTTASK
#include "../HydraTask.h"
#include "../../engine/HydraEngine.h"
#include "../../renderer/HydraRenderer.h"
#include <GLMIncludes.h>
#include "../../GlewIncludes.h"
#include "../../buffer/HydraTextureBufferManager.h"
#include "../../ecs/components/HydraPhysicsComponent.h"
#include <box3d/box3d.h>
class HydraDeletePhysicsObjectTask : public HydraTask
{
private:
b3BodyId m_body_id = {};
protected:
public:
void Process() override
{
b3DestroyBody(m_body_id);
}
void Initialise(b3BodyId body_id)
{
m_body_id = body_id;
}
};
#endif /* HYDRADELETEPHYSICSOBJECTTASK */