Physics stuff

This commit is contained in:
Confideo-IOM
2026-08-25 22:10:54 +01:00
parent 1253571c17
commit 30538ae7ab
59 changed files with 1403 additions and 518 deletions
@@ -0,0 +1,26 @@
#ifndef HYDRASPAWNEDLIGHTACTOR
#define HYDRASPAWNEDLIGHTACTOR
#include "../HydraActor.h"
class CLASS_DEFINE HydraSpawnedLightActor : public HydraActor
{
private:
double m_scale = 1.0;
double m_widthscale = 1.0f;
HydraID m_material_component = INVALID_HYDRA_ID;
HydraID m_position_component = INVALID_HYDRA_ID;
HydraID m_mesh_component = INVALID_HYDRA_ID;
protected:
void _CreatePosition();
void _CreateMesh();
void _CreateMaterial();
void _CreatePhysics();
void _CreateRenderableComponent();
public:
void InitialiseComponents() override;
void DeferredInitialiseComponents() override;
};
#endif /* HYDRASPAWNEDLIGHTACTOR */