feat: 切换至滚动阻力运行模型并更新资产、编辑器与验证
- 物理规则:现行模型仅保留滚动阻力耗能与恢复系数碰撞,风力、空气阻力、静摩擦、动摩擦不再参与运行;确认三球质量 60/330/约890 kg 及水密度、流阻参数 - 定向加速改为真实顶面接触触发的一次性 +5 m/s 速度事件,模型新增渐进式 U 形导槽出口 - 更新球体、滑槽、水/冰/墙、球洞模型与 storybook 目录、物理、实体配置 - 工坊摆放、编辑器、运行适配与检查脚本同步;删除过时的 baseline 三组检查 - 新增谜题设计参考文档、关卡草稿与本轮实验产物
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,266 @@
|
||||
"""Blender-only authoring of a separate Railbound-inspired asset family.
|
||||
|
||||
Copies a stable source once; never writes to the baseline assets. To adopt a
|
||||
later baseline, remove only this family's source_snapshot files explicitly.
|
||||
"""
|
||||
import bpy
|
||||
import bmesh
|
||||
import hashlib
|
||||
import json
|
||||
import math
|
||||
import shutil
|
||||
import time
|
||||
import runpy
|
||||
from pathlib import Path
|
||||
from mathutils import Vector
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[4]
|
||||
SOURCE = Path(__file__).resolve().parent
|
||||
SNAPSHOT = SOURCE / 'snapshot'
|
||||
SNAPSHOT.mkdir(parents=True, exist_ok=True)
|
||||
ONLY_ASSET = globals().get('ONLY_ASSET')
|
||||
REPORTS = ROOT / 'playtest/artifacts/styled'
|
||||
REPORTS.mkdir(parents=True, exist_ok=True)
|
||||
OUT = SOURCE.parent
|
||||
SOURCE.mkdir(parents=True, exist_ok=True)
|
||||
snapshot = SNAPSHOT / 'source_snapshot.blend'
|
||||
inputs = [ROOT/'assets/collections/baseline/source/collection.blend',
|
||||
ROOT/'assets/collections/baseline/catalog.json', ROOT/'assets/collections/baseline/physics.json']
|
||||
def digest(path):
|
||||
return hashlib.sha256(path.read_bytes()).hexdigest()
|
||||
|
||||
if not snapshot.exists():
|
||||
before = [digest(p) for p in inputs]
|
||||
time.sleep(3)
|
||||
if before != [digest(p) for p in inputs]:
|
||||
raise RuntimeError('Baseline is changing. Wait for its current build, then retry.')
|
||||
copies = [snapshot, SNAPSHOT/'source_catalog.json', SNAPSHOT/'source_physics.json']
|
||||
for src, dst in zip(inputs, copies):
|
||||
shutil.copy2(src, dst)
|
||||
if before != [digest(p) for p in inputs] or before != [digest(p) for p in copies]:
|
||||
for p in copies: p.unlink(missing_ok=True)
|
||||
raise RuntimeError('Baseline changed during copy. No snapshot was retained.')
|
||||
(SNAPSHOT/'source_manifest.json').write_text(json.dumps({
|
||||
'files': {str(p.relative_to(ROOT)): h for p,h in zip(inputs,before)},
|
||||
'copiedAtUnix': time.time(), 'readOnlyBaseline': True}, indent=2))
|
||||
|
||||
bpy.ops.wm.open_mainfile(filepath=str(snapshot))
|
||||
bpy.context.preferences.filepaths.save_version=0
|
||||
catalog = json.loads((SNAPSHOT/'source_catalog.json').read_text())
|
||||
physics = json.loads((SNAPSHOT/'source_physics.json').read_text())
|
||||
palette = {'body':'B98A56', 'top':'E9C88B', 'groove':'FFF0C5',
|
||||
'ink':'342E38', 'iron':'788A9E', 'iron_light':'C6DFE5',
|
||||
'red':'CB6652', 'green':'799361'}
|
||||
def mat(name, color, metallic=0.0, roughness=.85):
|
||||
m = bpy.data.materials.new('Storybook / '+name)
|
||||
rgba = tuple(int(color[i:i+2],16)/255 for i in (0,2,4))+(1,)
|
||||
# Hex palette is sRGB; Blender's material values are linear.
|
||||
rgba = tuple(((v+.055)/1.055)**2.4 if v>.04045 else v/12.92 for v in rgba[:3])+(1,)
|
||||
m.diffuse_color = rgba
|
||||
m.use_nodes = True
|
||||
bsdf = m.node_tree.nodes.get('Principled BSDF')
|
||||
bsdf.inputs['Base Color'].default_value = rgba
|
||||
bsdf.inputs['Metallic'].default_value = metallic
|
||||
bsdf.inputs['Roughness'].default_value = roughness
|
||||
return m
|
||||
mats={k:mat(k,v) for k,v in palette.items()}
|
||||
mats['iron']=mat('iron satin','788A9E',.35,.5)
|
||||
mats['wall']=mat('wall stone','A29E8B')
|
||||
mats['wall_top']=mat('wall stone top','D8D3B4')
|
||||
|
||||
def mesh_object(name,vertices,faces):
|
||||
mesh=bpy.data.meshes.new(name)
|
||||
mesh.from_pydata(vertices,[],faces);mesh.update()
|
||||
bm=bmesh.new();bm.from_mesh(mesh)
|
||||
bmesh.ops.recalc_face_normals(bm,faces=bm.faces);bm.to_mesh(mesh);bm.free()
|
||||
obj=bpy.data.objects.new(name,mesh);bpy.context.collection.objects.link(obj)
|
||||
return obj
|
||||
|
||||
def build_funnel():
|
||||
bpy.data.objects.remove(bpy.data.objects['goal_hole'],do_unlink=True)
|
||||
# A closed shell with a wide conical entrance and a true narrow outlet.
|
||||
profile=[(.46,0),(.32,-.35),(.32,-1),(.36,-1),(.50,0)]
|
||||
sides=96
|
||||
vertices=[(radius*math.cos(i*math.tau/sides),radius*math.sin(i*math.tau/sides),z)
|
||||
for radius,z in profile for i in range(sides)]
|
||||
faces=[]
|
||||
for ring in range(len(profile)):
|
||||
next_ring=(ring+1)%len(profile)
|
||||
for i in range(sides):
|
||||
j=(i+1)%sides
|
||||
faces.append((ring*sides+i,ring*sides+j,next_ring*sides+j,next_ring*sides+i))
|
||||
return mesh_object('goal_hole',vertices,faces)
|
||||
|
||||
def build_wall(name='wall'):
|
||||
vertices=[(x,y,z) for z in (0,1) for y in (-.5,.5) for x in (-.5,.5)]
|
||||
faces=[(0,2,3,1),(4,5,7,6),(0,1,5,4),(2,6,7,3),(0,4,6,2),(1,3,7,5)]
|
||||
return mesh_object(name,vertices,faces)
|
||||
|
||||
build_funnel();build_wall();build_wall('directional_boost')
|
||||
catalog['models']['wall']={'role':'solid','category':'nonInteractive','collisionShape':'box',
|
||||
'cellFootprint':[1,1],'boundsBlender':{'min':[-.5,-.5,0],'max':[.5,.5,1],'size':[1,1,1]},
|
||||
'declaredSize':[1,1,1],'geometryOrigin':'authored'}
|
||||
catalog['models']['directional_boost']={'role':'boost','category':'interactive','collisionShape':'box',
|
||||
'cellFootprint':[1,1],'boundsBlender':{'min':[-.5,-.5,0],'max':[.5,.5,1],'size':[1,1,1]},
|
||||
'declaredSize':[1,1,1],'geometryOrigin':'authored','arrowDirectionGodot':[1,0,0]}
|
||||
catalog['models']['goal_hole']={'role':'goal','category':'nonInteractive','openingRadius':.32,
|
||||
'entranceRadius':.46,'funnelDepth':.35,'depth':1.0,'cellFootprint':[1,1],
|
||||
'boundsBlender':{'min':[-.5,-.5,-1],'max':[.5,.5,0],'size':[1,1,1]},
|
||||
'declaredSize':[1,1,1],'geometryOrigin':'authored'}
|
||||
|
||||
def export(objects, path):
|
||||
if globals().get('EXPORT_KINDS') is not None and objects[0].name not in EXPORT_KINDS:
|
||||
return
|
||||
bpy.ops.object.select_all(action='DESELECT')
|
||||
for obj in objects: obj.select_set(True)
|
||||
bpy.context.view_layer.objects.active=objects[0]
|
||||
path.parent.mkdir(parents=True,exist_ok=True)
|
||||
bpy.ops.export_scene.gltf(filepath=str(path),export_format='GLB',
|
||||
use_selection=True,export_yup=True,export_extras=True,export_apply=True)
|
||||
|
||||
def lines(name, segments, radius=.012):
|
||||
curve=bpy.data.curves.new('ink_'+name,'CURVE')
|
||||
curve.dimensions='3D'; curve.bevel_depth=radius; curve.bevel_resolution=0
|
||||
curve.resolution_u=1
|
||||
for points in segments:
|
||||
spline=curve.splines.new('POLY'); spline.points.add(len(points)-1)
|
||||
for point, value in zip(spline.points,points):point.co=(*value,1)
|
||||
obj=bpy.data.objects.new('ink_'+name,curve)
|
||||
bpy.context.collection.objects.link(obj); obj.data.materials.append(mats['ink'])
|
||||
obj['visual_only']=True
|
||||
return obj
|
||||
|
||||
def outline(obj):
|
||||
bm=bmesh.new();bm.from_mesh(obj.data);bm.normal_update()
|
||||
segments=[]
|
||||
for edge in bm.edges:
|
||||
if len(edge.link_faces)!=2 or edge.calc_face_angle(0)>math.radians(36):
|
||||
segments.append([tuple(v.co) for v in edge.verts])
|
||||
bm.free()
|
||||
return lines(obj.name,segments)
|
||||
|
||||
def boost_arrow():
|
||||
# Flat authored graphic above the top face; excluded from collision like ink outlines.
|
||||
points=[(-.34,-.12),(.04,-.12),(.04,-.28),(.36,0),(.04,.28),(.04,.12),(-.34,.12)]
|
||||
result=[]
|
||||
for suffix,scale,z,color in [('border',1,1.002,'ink'),('fill',.82,1.003,'red')]:
|
||||
arrow=mesh_object('ink_boost_arrow_'+suffix,[(x*scale,y*scale,z) for x,y in points],[tuple(range(7))])
|
||||
arrow.data.materials.append(mats[color]);arrow['visual_only']=True
|
||||
result.append(arrow)
|
||||
return result
|
||||
|
||||
|
||||
def asset_dir(kind):
|
||||
category = 'balls' if kind == 'iron_ball' else 'goals' if kind == 'goal_hole' else 'blocks' if kind in ('wall','directional_boost') else 'chutes'
|
||||
return ROOT / 'assets' / category / kind
|
||||
|
||||
snapshot_turn='turn_90' if 'turn_90' in bpy.data.objects else 'turn_cw'
|
||||
catalog['models']['turn_90']=dict(catalog['models'][snapshot_turn], geometrySource=snapshot_turn)
|
||||
# Retire duplicate objects only in this working scene; never rewrite the snapshot.
|
||||
for legacy in ('turn_cw','turn_ccw'):
|
||||
if legacy!=snapshot_turn and legacy in bpy.data.objects:
|
||||
bpy.data.objects.remove(bpy.data.objects[legacy],do_unlink=True)
|
||||
kinds=['straight','turn_90','gentle','steep','y_merge']
|
||||
groups=[];report=[]
|
||||
all_kinds=kinds+['iron_ball','goal_hole','wall','directional_boost']
|
||||
if ONLY_ASSET is not None and ONLY_ASSET not in all_kinds:raise ValueError(ONLY_ASSET)
|
||||
for kind in ([ONLY_ASSET] if ONLY_ASSET else all_kinds):
|
||||
obj=bpy.data.objects[snapshot_turn if kind=='turn_90' else kind]
|
||||
if kind=='turn_90':
|
||||
obj.name=kind
|
||||
obj['asset_id']=kind
|
||||
obj.location=(0,0,0)
|
||||
obj.data=obj.data.copy()
|
||||
before_coords=[tuple(v.co) for v in obj.data.vertices]
|
||||
old_indices=[p.material_index for p in obj.data.polygons]
|
||||
obj.data.materials.clear()
|
||||
if kind in kinds:
|
||||
for key in ['body','groove','top']:obj.data.materials.append(mats[key])
|
||||
for face,old in zip(obj.data.polygons,old_indices):
|
||||
face.material_index=1 if old==1 else (2 if face.normal.z>.55 else 0)
|
||||
group=[obj,outline(obj)]
|
||||
category='chutes'
|
||||
elif kind=='iron_ball':
|
||||
# A continuous satin sphere: the snapshot's orientation stripe and the
|
||||
# former face-painted highlight read as cracks/patches during rotation.
|
||||
# Let the scene lighting produce the highlight on smooth normals instead.
|
||||
obj.data.materials.append(mats['iron'])
|
||||
for face in obj.data.polygons:
|
||||
face.material_index=0
|
||||
face.use_smooth=True
|
||||
group=[obj]
|
||||
category='balls'
|
||||
elif kind=='goal_hole':
|
||||
obj.data.materials.append(mats['red'])
|
||||
obj.data.materials.append(mats['top'])
|
||||
obj.data.materials.append(mats['ink'])
|
||||
for face in obj.data.polygons:
|
||||
face.material_index=1 if face.index<96 else (2 if face.index<192 else 0)
|
||||
face.use_smooth=face.index<192
|
||||
group=[obj,outline(obj)]
|
||||
category='environment'
|
||||
else:
|
||||
obj.data.materials.append(mats['wall']);obj.data.materials.append(mats['wall_top'])
|
||||
for face in obj.data.polygons:face.material_index=1 if face.normal.z>.5 else 0
|
||||
group=[obj,outline(obj)]
|
||||
if kind=='directional_boost':group+=boost_arrow()
|
||||
category='entities'
|
||||
obj['style_family']='railbound_inspired'
|
||||
obj['collision_source']='authored mesh' if kind in ('wall','goal_hole','directional_boost') else 'unchanged source mesh'
|
||||
export(group,asset_dir(kind)/'model.glb')
|
||||
catalog['models'][kind]['path']='res://'+str((asset_dir(kind)/'model.glb').relative_to(ROOT))
|
||||
catalog['models'][kind]['sourceBlend']=str((asset_dir(kind)/'source/model.blend').relative_to(ROOT))
|
||||
for member in group:
|
||||
if member.type=='CURVE':
|
||||
bpy.ops.object.select_all(action='DESELECT');member.select_set(True)
|
||||
bpy.context.view_layer.objects.active=member
|
||||
bpy.ops.object.convert(target='MESH')
|
||||
source_path=asset_dir(kind)/'source/model.blend'
|
||||
source_path.parent.mkdir(parents=True,exist_ok=True)
|
||||
# A separate editable source file contains only one asset family member.
|
||||
report.append({'id':kind,'collisionGeometryUnchanged':kind not in ('wall','goal_hole','directional_boost') and before_coords==[tuple(v.co) for v in obj.data.vertices],
|
||||
'vertices':len(obj.data.vertices),'separateBlend':str(source_path.relative_to(ROOT))})
|
||||
groups.append(group)
|
||||
|
||||
if ONLY_ASSET:
|
||||
existing=json.loads((OUT/'catalog.json').read_text())
|
||||
for legacy in ('turn_cw','turn_ccw'):existing['models'].pop(legacy,None)
|
||||
existing['models'][ONLY_ASSET]=catalog['models'][ONLY_ASSET]
|
||||
catalog=existing
|
||||
else:
|
||||
catalog['models']={k:catalog['models'][k] for k in all_kinds}
|
||||
catalog['styleFamily']='railbound_inspired'
|
||||
catalog['palette']=palette
|
||||
(OUT/'catalog.json').write_text(json.dumps(catalog,ensure_ascii=False,indent=2))
|
||||
if not ONLY_ASSET:
|
||||
# Geometry rebuilds must not overwrite curated ball types or physics tuning.
|
||||
if not (OUT/'physics.json').exists():
|
||||
(OUT/'physics.json').write_text(json.dumps(physics,ensure_ascii=False,indent=2))
|
||||
(OUT/'entities.json').write_text(json.dumps({'interactive':[{'id':'directional_boost','name':'定向加速','assetId':'directional_boost'}],
|
||||
'nonInteractive':[{'id':'wall','name':'标准墙壁','assetId':'wall'},
|
||||
{'id':'goal_hole','name':'锥口球洞','assetId':'goal_hole'}]},ensure_ascii=False,indent=2))
|
||||
if ONLY_ASSET:
|
||||
names={member.name for member in groups[0]}
|
||||
for obj in list(bpy.data.objects):
|
||||
if obj.name not in names:bpy.data.objects.remove(obj,do_unlink=True)
|
||||
bpy.ops.wm.save_as_mainfile(filepath=str(ROOT/report[0]['separateBlend']))
|
||||
else:
|
||||
for i,group in enumerate(groups):
|
||||
for member in group:member.location=(i%4*2.6,i//4*3,0)
|
||||
bpy.ops.wm.save_as_mainfile(filepath=str(SOURCE/'collection.blend'))
|
||||
group_names=[[member.name for member in group] for group in groups]
|
||||
for entry, names in zip(report,group_names):
|
||||
if globals().get('EXPORT_KINDS') is not None and entry['id'] not in EXPORT_KINDS:
|
||||
continue
|
||||
bpy.ops.wm.open_mainfile(filepath=str(SOURCE/'collection.blend'))
|
||||
for obj in list(bpy.data.objects):
|
||||
if obj.name not in names:bpy.data.objects.remove(obj,do_unlink=True)
|
||||
else:obj.location=(0,0,0)
|
||||
bpy.ops.wm.save_as_mainfile(filepath=str(ROOT/entry['separateBlend']))
|
||||
(REPORTS/(('asset_'+ONLY_ASSET+'.json') if ONLY_ASSET else 'assets.json')).write_text(json.dumps({
|
||||
'sourceManifest':json.loads((SNAPSHOT/'source_manifest.json').read_text()),
|
||||
'models':report,'radius':catalog['models']['iron_ball']['radius'],
|
||||
'physicalMaterialUnchanged':True,'outlineGeometry':'visual only'},indent=2))
|
||||
print('STYLE_ASSETS_READY')
|
||||
if not ONLY_ASSET:
|
||||
runpy.run_path(str(ROOT/'assets/balls/shared/source/build_materials.py'))
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"ballTypes": [
|
||||
{
|
||||
"ballTypeId": "wood_ball",
|
||||
"displayName": "原木球",
|
||||
"assetId": "wood_ball",
|
||||
"physicsProfileId": "wood_game"
|
||||
},
|
||||
{
|
||||
"ballTypeId": "ceramic_ball",
|
||||
"displayName": "陶瓷球",
|
||||
"assetId": "ceramic_ball",
|
||||
"physicsProfileId": "ceramic_game"
|
||||
},
|
||||
{
|
||||
"ballTypeId": "iron_ball",
|
||||
"displayName": "铁球",
|
||||
"assetId": "iron_ball",
|
||||
"physicsProfileId": "solid_iron_test"
|
||||
}
|
||||
],
|
||||
"physicsProfiles": {
|
||||
"solid_iron_test": {
|
||||
"massKg": 890.0760306150601,
|
||||
"inertiaModel": "solidSphere",
|
||||
"dragCoefficient": 0.47,
|
||||
"contactMaterialId": "iron"
|
||||
},
|
||||
"wood_game": {
|
||||
"massKg": 60,
|
||||
"inertiaModel": "solidSphere",
|
||||
"dragCoefficient": 0.47,
|
||||
"contactMaterialId": "wood"
|
||||
},
|
||||
"ceramic_game": {
|
||||
"massKg": 75,
|
||||
"inertiaModel": "solidSphere",
|
||||
"dragCoefficient": 0.04,
|
||||
"contactMaterialId": "ceramic"
|
||||
}
|
||||
},
|
||||
"contactMaterialPairs": [
|
||||
{
|
||||
"materialAId": "iron",
|
||||
"materialBId": "painted_wood",
|
||||
"staticFriction": 0.42,
|
||||
"dynamicFriction": 0.32,
|
||||
"rollingResistance": 0.025,
|
||||
"restitution": 0.08
|
||||
},
|
||||
{
|
||||
"materialAId": "iron",
|
||||
"materialBId": "iron",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
},
|
||||
{
|
||||
"materialAId": "wood",
|
||||
"materialBId": "painted_wood",
|
||||
"staticFriction": 0.42,
|
||||
"dynamicFriction": 0.32,
|
||||
"rollingResistance": 0.025,
|
||||
"restitution": 0.08
|
||||
},
|
||||
{
|
||||
"materialAId": "ceramic",
|
||||
"materialBId": "painted_wood",
|
||||
"staticFriction": 0.42,
|
||||
"dynamicFriction": 0.32,
|
||||
"rollingResistance": 0.025,
|
||||
"restitution": 0.08
|
||||
},
|
||||
{
|
||||
"materialAId": "wood",
|
||||
"materialBId": "wood",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
},
|
||||
{
|
||||
"materialAId": "ceramic",
|
||||
"materialBId": "ceramic",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
},
|
||||
{
|
||||
"materialAId": "wood",
|
||||
"materialBId": "ceramic",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
},
|
||||
{
|
||||
"materialAId": "wood",
|
||||
"materialBId": "iron",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
},
|
||||
{
|
||||
"materialAId": "ceramic",
|
||||
"materialBId": "iron",
|
||||
"staticFriction": 0.35,
|
||||
"dynamicFriction": 0.25,
|
||||
"rollingResistance": 0.01,
|
||||
"restitution": 0.15
|
||||
}
|
||||
],
|
||||
"notes": [
|
||||
"Game tuning: all balls have the same authored radius and shape. Wood mass 60 kg; ceramic 75 kg (+25%); iron keeps its original 890.076 kg.",
|
||||
"Air drag coefficients are gameplay parameters, not measured material constants: wood 0.47, ceramic 0.04, iron 0.47. Iron receives aerodynamic force through the same equation as other balls; its mass and ordinary contact resistance limit motion in the reference wind.",
|
||||
"No extra fan multiplier or direct wind velocity override. All types use the established contact coefficients to isolate mass and aerodynamic differences.",
|
||||
"The current native per-body friction/restitution approximation is retained; simultaneous mixed contact-pair solving is not introduced by this asset change."
|
||||
],
|
||||
"airDensity": 1.225
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"assets/goals/goal_hole/model.glb": "10c848ddb488c230fa957fe247c2407ce656bf1ed57d3c7b5b3dfcd982470951",
|
||||
"assets/goals/goal_hole/source/model.blend": "3fe002311c2f2e3b5bab4308112c66f64b7d074995734bfdd2600a8587358102",
|
||||
"assets/collections/storybook/source/collection.blend": "4611a0e8c48f282b4d72835579aa15805051de292b34c15be70881c4db9bed3a",
|
||||
"assets/collections/storybook/source/build.py": "0d02bd42c841c8bedaf7f613ee7321216cd7bde6527a531eeb3a2f9296e9552e",
|
||||
"assets/collections/storybook/catalog.json": "c302cfcf8d2068d172519bca7f83e210d556716a82ce0f5afe4ba2965091f447",
|
||||
"assets/collections/storybook/physics.json": "24161d2574282825b3d0611505c855f5a72b100a892f746f0a236a72ce8798d8"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"otherMeshesUnchanged": true,
|
||||
"replaced": [
|
||||
"goal_hole",
|
||||
"ink_goal_hole"
|
||||
]
|
||||
}
|
||||
@@ -2,8 +2,43 @@
|
||||
"checks": [
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1133,
|
||||
"end": "(0.0, -1.005104, 0.0)"
|
||||
"centerY": 1.63104367256165,
|
||||
"events": [
|
||||
{
|
||||
"ballId": "iron",
|
||||
"goalId": "hole",
|
||||
"position": [
|
||||
2.01806831359863,
|
||||
1.63104367256165,
|
||||
-0.999547719955444
|
||||
],
|
||||
"time": 0.741666666666666
|
||||
}
|
||||
],
|
||||
"status": "全部入洞! 0.74 秒"
|
||||
},
|
||||
"name": "workshop_scores_inside_supported_goal",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {},
|
||||
"name": "skimming_above_mouth_does_not_score",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {},
|
||||
"name": "grazing_throat_edge_does_not_score",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {},
|
||||
"name": "rising_from_below_does_not_score",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 0,
|
||||
"end": "(0.0, -0.350831, 0.0)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.0, 0.0)",
|
||||
"passed": true
|
||||
@@ -11,7 +46,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1141,
|
||||
"end": "(0.004692, -1.027503, -0.004689)"
|
||||
"end": "(0.006718, -0.367044, 0.000499)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.12, 0.0)",
|
||||
"passed": true
|
||||
@@ -19,7 +54,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1122,
|
||||
"end": "(-0.007495, -1.020418, -0.018401)"
|
||||
"end": "(-0.001257, -0.363957, 0.002227)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.26, 0.0)",
|
||||
"passed": true
|
||||
@@ -27,7 +62,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.01457, -1.021921, -0.01245)"
|
||||
"end": "(-0.00433, -0.373872, 0.004414)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -35,7 +70,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.009895, -1.023855, -0.017172)"
|
||||
"end": "(0.00349, -0.373755, 0.006115)"
|
||||
},
|
||||
"name": "drop_wood_ball_(-0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -43,7 +78,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.013517, -1.023277, 0.00926)"
|
||||
"end": "(-0.005369, -0.373896, -0.004036)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.0, 0.36)",
|
||||
"passed": true
|
||||
@@ -51,7 +86,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.016024, -1.023196, -0.011723)"
|
||||
"end": "(0.005562, -0.373769, 0.003615)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.0, -0.36)",
|
||||
"passed": true
|
||||
@@ -59,7 +94,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1127,
|
||||
"end": "(-0.008337, -1.003462, -0.018005)"
|
||||
"end": "(0.003099, -0.350407, 0.007578)"
|
||||
},
|
||||
"name": "drop_wood_ball_(0.24, 0.24)",
|
||||
"passed": true
|
||||
@@ -67,15 +102,15 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1126,
|
||||
"end": "(0.019785, -1.012402, -0.001412)"
|
||||
"end": "(-0.006216, -0.35423, -0.001589)"
|
||||
},
|
||||
"name": "drop_wood_ball_(-0.24, -0.24)",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1133,
|
||||
"end": "(0.0, -1.007103, 0.0)"
|
||||
"contactFrames": 0,
|
||||
"end": "(0.0, -0.351871, 0.0)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.0, 0.0)",
|
||||
"passed": true
|
||||
@@ -83,7 +118,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1140,
|
||||
"end": "(0.011337, -1.029251, 0.012666)"
|
||||
"end": "(0.006113, -0.365548, -0.001206)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.12, 0.0)",
|
||||
"passed": true
|
||||
@@ -91,7 +126,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1122,
|
||||
"end": "(0.004795, -1.011782, -0.017516)"
|
||||
"end": "(0.017727, -0.366344, 0.006552)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.26, 0.0)",
|
||||
"passed": true
|
||||
@@ -99,7 +134,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.012047, -1.025424, -0.01322)"
|
||||
"end": "(-0.003429, -0.374514, 0.008168)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -107,7 +142,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.015903, -1.027495, -0.011892)"
|
||||
"end": "(0.003284, -0.374516, 0.00973)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(-0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -115,7 +150,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.012943, -1.025432, 0.013735)"
|
||||
"end": "(0.007751, -0.374488, -0.003466)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.0, 0.36)",
|
||||
"passed": true
|
||||
@@ -123,7 +158,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.016815, -1.02467, -0.010521)"
|
||||
"end": "(0.007233, -0.374468, 0.003517)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.0, -0.36)",
|
||||
"passed": true
|
||||
@@ -131,7 +166,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1127,
|
||||
"end": "(0.017929, -1.007286, 0.003665)"
|
||||
"end": "(0.007584, -0.355175, 0.017886)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(0.24, 0.24)",
|
||||
"passed": true
|
||||
@@ -139,15 +174,15 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1126,
|
||||
"end": "(0.014751, -1.005026, 0.011379)"
|
||||
"end": "(-0.005455, -0.360435, -0.003424)"
|
||||
},
|
||||
"name": "drop_ceramic_ball_(-0.24, -0.24)",
|
||||
"passed": true
|
||||
},
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1133,
|
||||
"end": "(0.0, -1.007105, 0.0)"
|
||||
"contactFrames": 0,
|
||||
"end": "(0.0, -0.351816, 0.0)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.0, 0.0)",
|
||||
"passed": true
|
||||
@@ -155,7 +190,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1141,
|
||||
"end": "(0.013721, -1.032078, 0.005726)"
|
||||
"end": "(0.006115, -0.365689, -0.00166)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.12, 0.0)",
|
||||
"passed": true
|
||||
@@ -163,7 +198,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1122,
|
||||
"end": "(-0.015804, -1.010242, 0.009249)"
|
||||
"end": "(0.007877, -0.361279, -0.006082)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.26, 0.0)",
|
||||
"passed": true
|
||||
@@ -171,7 +206,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.01255, -1.025249, 0.013082)"
|
||||
"end": "(-0.003445, -0.374441, -0.007895)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -179,7 +214,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(-0.012894, -1.02611, -0.015093)"
|
||||
"end": "(0.003304, -0.37449, 0.007669)"
|
||||
},
|
||||
"name": "drop_iron_ball_(-0.36, 0.0)",
|
||||
"passed": true
|
||||
@@ -187,7 +222,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.009499, -1.025884, 0.012995)"
|
||||
"end": "(-0.009605, -0.374456, -0.003244)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.0, 0.36)",
|
||||
"passed": true
|
||||
@@ -195,7 +230,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1120,
|
||||
"end": "(0.009933, -1.0254, -0.012974)"
|
||||
"end": "(-0.008965, -0.374423, 0.003309)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.0, -0.36)",
|
||||
"passed": true
|
||||
@@ -203,7 +238,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1127,
|
||||
"end": "(-0.018326, -1.012097, -0.007675)"
|
||||
"end": "(0.007256, -0.352717, 0.003666)"
|
||||
},
|
||||
"name": "drop_iron_ball_(0.24, 0.24)",
|
||||
"passed": true
|
||||
@@ -211,7 +246,7 @@
|
||||
{
|
||||
"detail": {
|
||||
"contactFrames": 1126,
|
||||
"end": "(0.009102, -1.015484, 0.015162)"
|
||||
"end": "(-0.002968, -0.362735, -0.00636)"
|
||||
},
|
||||
"name": "drop_iron_ball_(-0.24, -0.24)",
|
||||
"passed": true
|
||||
@@ -255,14 +290,14 @@
|
||||
"ballId": "student_ball",
|
||||
"goalId": "goal",
|
||||
"position": [
|
||||
2.9973669052124,
|
||||
0.645162343978882,
|
||||
0.0196551065891981
|
||||
2.99644899368286,
|
||||
3.32077193260193,
|
||||
0.00355775188654661
|
||||
],
|
||||
"time": 2.39999999999999
|
||||
"time": 2.08333333333333
|
||||
}
|
||||
],
|
||||
"time": 2.39999999999999
|
||||
"time": 2.08333333333333
|
||||
},
|
||||
"name": "tutorial_1_enters_once",
|
||||
"passed": true
|
||||
@@ -274,14 +309,14 @@
|
||||
"ballId": "student_ball",
|
||||
"goalId": "goal",
|
||||
"position": [
|
||||
0.00339265912771225,
|
||||
0.678770303726196,
|
||||
3.01822996139526
|
||||
-0.0113675752654672,
|
||||
3.32657384872437,
|
||||
2.98454475402832
|
||||
],
|
||||
"time": 3.71666666666666
|
||||
"time": 2.41666666666666
|
||||
}
|
||||
],
|
||||
"time": 3.71666666666666
|
||||
"time": 2.41666666666666
|
||||
},
|
||||
"name": "tutorial_2_enters_once",
|
||||
"passed": true
|
||||
@@ -293,14 +328,14 @@
|
||||
"ballId": "student_ball",
|
||||
"goalId": "goal",
|
||||
"position": [
|
||||
1.98784899711609,
|
||||
0.662082076072693,
|
||||
-2.01570081710815
|
||||
1.99756240844727,
|
||||
3.32501268386841,
|
||||
-1.9871119260788
|
||||
],
|
||||
"time": 4.40833333333334
|
||||
"time": 2.97499999999999
|
||||
}
|
||||
],
|
||||
"time": 4.40833333333334
|
||||
"time": 2.97499999999999
|
||||
},
|
||||
"name": "tutorial_3_enters_once",
|
||||
"passed": true
|
||||
@@ -312,14 +347,14 @@
|
||||
"ballId": "student_ball",
|
||||
"goalId": "goal",
|
||||
"position": [
|
||||
5.01481342315674,
|
||||
0.65211695432663,
|
||||
0.0101500349119306
|
||||
4.99413537979126,
|
||||
3.31404900550842,
|
||||
-0.00234287418425083
|
||||
],
|
||||
"time": 3.83333333333332
|
||||
"time": 2.69166666666666
|
||||
}
|
||||
],
|
||||
"time": 3.83333333333332
|
||||
"time": 2.69166666666666
|
||||
},
|
||||
"name": "tutorial_4_enters_once",
|
||||
"passed": true
|
||||
@@ -331,19 +366,19 @@
|
||||
"ballId": "student_ball",
|
||||
"goalId": "goal",
|
||||
"position": [
|
||||
4.9877724647522,
|
||||
0.159147873520851,
|
||||
-0.0156376082450151
|
||||
4.98896408081055,
|
||||
2.81397747993469,
|
||||
-0.0158765353262424
|
||||
],
|
||||
"time": 7.01666666666681
|
||||
"time": 5.45000000000006
|
||||
}
|
||||
],
|
||||
"time": 7.01666666666681
|
||||
"time": 5.45000000000006
|
||||
},
|
||||
"name": "tutorial_5_enters_once",
|
||||
"passed": true
|
||||
}
|
||||
],
|
||||
"failed": 0,
|
||||
"passed": 36
|
||||
"passed": 40
|
||||
}
|
||||
Reference in New Issue
Block a user