Make F5 incremental and reduce iron maiden geometry, physics and idle updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user