Custom entity pipeline fixes
This commit is contained in:
@@ -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};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user