Consume Lane 2's pre-fractured props in the Godot game. Smashable.shatter() now prefers a <name>.fractured.glb sibling: it instances the fractured template and turns each chunk_00…chunk_NN mesh into its own debris RigidBody3D that inherits the intact body's velocity + the smash impulse (box collider per chunk, debris group so the HUD count + Juice keep working), falling back to primitive shards when no fractured sibling exists. _glb_piece auto-wires the sibling, so every GLB prop upgrades for free. Smashable gains hits_to_break + is_boss: the office PRINTER is the level boss — it sits on a desk, soaks 5 hits (rocking with each), then bursts in a bigger juice cloud into its 16 GLB chunks. Six more Lane 2 props (crt-monitor, filing-cabinet, water-cooler, cardboard-box, turntable, office-desk) are scattered as smashable furniture; the store crate/rack also pick up real 8-chunk shatter from their mirrored fractured GLBs. Assets pulled into game/assets/store/ (intact + .fractured.glb): office-printer, office-desk, crt-monitor, filing-cabinet, water-cooler, cardboard-box, turntable + record/crate/rack fractured siblings (generated via meshgod's Voronoi fracture CLI). Verified headless: smoke test clean (0 script errors), printer boss soaks 4 hits then spawns 16 chunk bodies, a crate spawns 8 — both real GLB chunks, not primitive shards. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
[remap]
|
|
|
|
importer="scene"
|
|
importer_version=1
|
|
type="PackedScene"
|
|
uid="uid://bljrbd26sxaxh"
|
|
path="res://.godot/imported/filing-cabinet.glb-d21e35af071b99d24049073a673e699f.scn"
|
|
|
|
[deps]
|
|
|
|
source_file="res://assets/store/filing-cabinet.glb"
|
|
dest_files=["res://.godot/imported/filing-cabinet.glb-d21e35af071b99d24049073a673e699f.scn"]
|
|
|
|
[params]
|
|
|
|
nodes/root_type=""
|
|
nodes/root_name=""
|
|
nodes/root_script=null
|
|
mesh_library/use_node_names_as_mesh_names=false
|
|
array_mesh/deduplicate_surfaces=true
|
|
nodes/apply_root_scale=true
|
|
nodes/root_scale=1.0
|
|
nodes/import_as_skeleton_bones=false
|
|
nodes/use_name_suffixes=true
|
|
nodes/use_node_type_suffixes=true
|
|
meshes/ensure_tangents=true
|
|
meshes/generate_lods=true
|
|
meshes/create_shadow_meshes=true
|
|
meshes/light_baking=1
|
|
meshes/lightmap_texel_size=0.2
|
|
meshes/force_disable_compression=false
|
|
skins/use_named_skins=true
|
|
animation/import=true
|
|
animation/fps=30
|
|
animation/trimming=false
|
|
animation/remove_immutable_tracks=true
|
|
animation/import_rest_as_RESET=false
|
|
import_script/path=""
|
|
materials/extract=0
|
|
materials/extract_format=0
|
|
materials/extract_path=""
|
|
_subresources={}
|
|
gltf/naming_version=2
|
|
gltf/embedded_image_handling=1
|
|
gltf/texture_map_mode=1
|