Make F5 incremental and reduce iron maiden geometry, physics and idle updates

This commit is contained in:
JariKo
2026-10-29 12:47:09 +02:00
parent 18f944d9eb
commit c48761ef20
14 changed files with 231 additions and 36 deletions
+2
View File
@@ -14,6 +14,8 @@ func setup(game):
shape_node=CollisionShape3D.new();shape_node.shape=shape;shape_node.position.y=1.02;probe.add_child(shape_node)
func build(root):
for mesh in root.find_children("*","MeshInstance3D",true,false):
# Internal lining/embossing is enclosed by the real exterior shell.
if mesh.get_meta("no_walk_collision",false):continue
if not mesh.is_visible_in_tree() or mesh.mesh==null:continue
if mesh.mesh is QuadMesh:continue
if mesh.material_override is ShaderMaterial and mesh.material_override.shader in [preload("res://surface_water.gdshader"),preload("res://boiling.gdshader"),preload("res://leather.gdshader")]:continue