Integrate five Meshy apparatus with fitted soul poses and anchored restraints
This commit is contained in:
@@ -13,7 +13,7 @@ func run(g):
|
||||
for side in ["L","R"]:
|
||||
var x=1 if side=="L" else -1
|
||||
print("CHAIR ",kind," ",side," foot=",actor.bone_local("foot."+side)," wrist=",actor.bone_local("wrist."+side))
|
||||
check(actor.bone_local("foot."+side).distance_to(Vector3(x*.23,.13,.66))<.13,"chair ankle %d"%kind)
|
||||
check(actor.bone_local("foot."+side).distance_to(Vector3(x*.23,.42,.48))<.13,"chair ankle on raised footrest %d"%kind)
|
||||
check(actor.bone_local("wrist."+side).distance_to(Vector3(x*.61,1.15,.2))<.12,"chair wrist %d"%kind)
|
||||
var before=actor.bone_world("head");actor.update_torture(.2,true)
|
||||
check(actor.bone_world("head").distance_to(before)>.001,"chair reaction")
|
||||
|
||||
Reference in New Issue
Block a user