add rigidbody:is_selectable, :set_selectable

This commit is contained in:
MihailRis 2026-08-23 12:01:18 +03:00
parent 04c367b476
commit 4b4026b028
6 changed files with 26 additions and 2 deletions

View file

@ -65,6 +65,7 @@ struct Hitbox {
float stepHeight = 0.5f;
float mass = 1.0f;
float elasticity = 0.0f;
bool selectable = true;
std::string material;
std::string groundMaterial;
glm::vec3 groundVelocity {};