Files
Nuake-custom/Nuake/src/Scene/Components/CapsuleColliderComponent.h
2023-10-15 14:58:12 -04:00

21 lines
313 B
C++

#pragma once
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake
{
class CapsuleColliderComponent
{
public:
Ref<Physics::Capsule> Capsule;
float Radius = 0.5f;
float Height = 1.0f;
bool IsTrigger = false;
json Serialize();
bool Deserialize(const json& str);
};
}