This commit is contained in:
Nicholas Butzke
2026-08-09 01:31:44 -04:00
parent 922983429e
commit 9358746582
43 changed files with 4324 additions and 481 deletions
+1 -15
View File
@@ -33,22 +33,8 @@ func _run() -> void:
_expect(dash_exhaust.z > 0.90, "forward dash exhaust must point backward")
_expect(dash_exhaust.y < 0.0, "dash exhaust keeps a slight downward cant")
var humanoid := HumanoidModel.new()
host.add_child(humanoid)
await process_frame
humanoid.set_locomotion(0.0, -1.0, 0.0)
humanoid.update_state("ground", 9.0)
humanoid._process(0.1)
_expect(humanoid.root_pivot.rotation.x > 0.0,
"fallback model must lean backward while backpedalling")
humanoid.update_state("ground", 5.0)
humanoid._process(0.1)
_expect(humanoid._brake_left > 0.0, "deceleration must arm the braking pose")
_expect(absf(humanoid.thigh_r_pivot.rotation.x) > 0.05,
"braking pose must plant a lead foot")
if _failures.is_empty():
print("JET_POSE_TEST PASS: four flames, directional thrust, reverse lean, brake pose")
print("JET_POSE_TEST PASS: four flames and directional thrust")
quit(0)
else:
for failure in _failures: