Custom entity pipeline fixes

This commit is contained in:
2025-07-26 01:39:16 +02:00
parent 9c2f32f5a3
commit f62203973f
3 changed files with 10 additions and 162 deletions

View File

@@ -10,8 +10,8 @@ init_entity :: (e: *Mesh_Entity) {
if e.model_path.count > 0 {
load_model_into_entity(e, get_or_load_model(e.model_path));
e.flags |= .PHYSICS;
e.physics.type = .BOX;
e.physics.box.half_extent = .{0.5,0.5,0.5};
e.physics.type = .TRIANGLE_MESH;
//e.physics.box.half_extent = .{0.5,0.5,0.5};
}
}