Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos

Add Gizmo to display 3D custom AABB
This commit is contained in:
Rémi Verschelde
2024-04-19 16:27:16 +02:00
6 changed files with 135 additions and 0 deletions
+1
View File
@@ -377,6 +377,7 @@ void GeometryInstance3D::set_custom_aabb(AABB p_aabb) {
}
custom_aabb = p_aabb;
RS::get_singleton()->instance_set_custom_aabb(get_instance(), custom_aabb);
update_gizmos();
}
AABB GeometryInstance3D::get_custom_aabb() const {