feat: 切换至滚动阻力运行模型并更新资产、编辑器与验证

- 物理规则:现行模型仅保留滚动阻力耗能与恢复系数碰撞,风力、空气阻力、静摩擦、动摩擦不再参与运行;确认三球质量 60/330/约890 kg 及水密度、流阻参数
- 定向加速改为真实顶面接触触发的一次性 +5 m/s 速度事件,模型新增渐进式 U 形导槽出口
- 更新球体、滑槽、水/冰/墙、球洞模型与 storybook 目录、物理、实体配置
- 工坊摆放、编辑器、运行适配与检查脚本同步;删除过时的 baseline 三组检查
- 新增谜题设计参考文档、关卡草稿与本轮实验产物
This commit is contained in:
Yanchen
2026-12-05 10:37:31 +08:00
parent d1141b04c7
commit bf6c355fa6
132 changed files with 13205 additions and 1838 deletions
+4 -2
View File
@@ -44,10 +44,12 @@ func run() -> void:
check("interactive_palette_exposes_boost",app.kind=="directional_boost" and app.boost_controls.is_visible_in_tree())
check("editor_has_fixed_gain_label_and_no_speed_input",app.boost_controls.find_children("*","SpinBox",true,false).is_empty() and app.boost_controls.find_children("*","Label",true,false).any(func(l):return l.text=="固定增速:+5 m/s"))
app.quarter=3;app.cursor=Vector3(2,0,-1);app.refresh_selection()
var preview=app.selection
check("standalone_preview_has_guide_and_arrow",preview.find_children("ink_boost_arrow_fill*","MeshInstance3D",true,false).size()==1 and preview.find_children("directional_boost*","MeshInstance3D",true,false).any(func(m):return is_equal_approx(m.mesh.get_aabb().size.y,1.32)))
await click(app.place_button);await frames(3)
var id: String=app.last_placed_id
check("gui_places_boost_without_gain_override",app.records.size()==1 and not app.records[0].has("speedGain") and app.records[0].quarter==3)
check("boost_retains_solid_wall_bounds",app.lib.record_bounds(app.records[0]).size==Vector3.ONE and app.pieces[0].find_children("*","StaticBody3D",true,false).size()==1)
check("boost_includes_permanent_guide_bounds",app.lib.record_bounds(app.records[0]).size.is_equal_approx(Vector3(1,1.32,1)) and app.pieces[0].find_children("*","StaticBody3D",true,false).size()==1)
app.select_record(id);app.cursor.y=1;await click(app.apply_button)
check("gui_moves_selected_boost",app.records[0].position.y==1)
app.undo();check("undo_restores_boost_position",app.records[0].position.y==0)
@@ -76,7 +78,7 @@ func run() -> void:
await load_case([{"id":"base","kind":"wall","position":[0,0,0],"quarter":0}],[])
app.select_category("interactive");app.cursor=Vector3(0,1,0);app.quarter=1;app.refresh_selection()
await click(app.place_button);await frames(3)
check("boost_stacks_on_wall",app.records.size()==2 and app.lib.record_bounds(app.records[1]).end.y==2)
check("boost_stacks_on_wall",app.records.size()==2 and is_equal_approx(app.lib.record_bounds(app.records[1]).end.y,2.32))
app.select_category("balls");await frames(3)
await click_point(app.camera.unproject_position(Vector3(0,2.001,0)))
check("mouse_places_ball_on_boost_top",app.ball_cursor.distance_to(Vector3(0,2.32,0))<.02)