Close and archive the 0.9.9 milestone, record that the upstream clips stay unused, and harden the fallback test
This commit is contained in:
1 parent
fcbeee0db2
commit
c70a523f0f
6 files changed
+126
-108
No files matched your search
@@ -460,8 +460,17 @@ func test_forced_fallback_still_builds_the_procedural_rig() -> bool:
|
||||
"fallback still exposes Rig/Head")
|
||||
var c := TestUtils.check(avatar.find_child("HipL", true, false) != null,
|
||||
"fallback limb pivots exist")
|
||||
# The fallback must still animate, not just exist: the pose code drives the same
|
||||
# proxy pivots the skinned path uses.
|
||||
var hip := avatar.find_child("HipL", true, false) as Node3D
|
||||
avatar.velocity = Vector3(0, 0, 1.2)
|
||||
avatar._animate(1.0 / 60.0)
|
||||
var d := TestUtils.check(hip != null and absf(hip.rotation.x) > 0.01,
|
||||
"fallback hip swings when walking")
|
||||
var hand := avatar.find_child("Hand", true, false) as Node3D
|
||||
var e := TestUtils.check(hand != null, "fallback exposes a hand pivot for gear")
|
||||
avatar.free()
|
||||
return a and b and c
|
||||
return a and b and c and d and e
|
||||
|
||||
func test_rig_is_articulated() -> bool:
|
||||
var avatar := _avatar(Rules.NpcType.TOURIST, 77)
|
||||
|
||||
Reference in new issue
Block a user