Browse Source

脚反転

main
みてるぞ 1 year ago
parent
commit
8b54a6a945
1 changed files with 9 additions and 2 deletions
  1. +9
    -2
      android/modules/goatoh.mod.hsp

+ 9
- 2
android/modules/goatoh.mod.hsp View File

@@ -77,10 +77,17 @@ Walk \

Repeat 4
If legDirections.cnt.p_insId = LEG_DIRECTION_FRONT {
legArgs.cnt.p_insId -= Deg2Rad (1)
legArgs.cnt.p_insId += Deg2Rad (1)
}
Else {
legArgs.cnt.p_insId += Deg2Rad (1)
legArgs.cnt.p_insId -= Deg2Rad (1)
}

If legArgs.cnt.p_insId > Deg2Rad (15) {
legDirections.cnt.p_insId = LEG_DIRECTION_HIND
}
Else: If legArgs.cnt.p_insId < Deg2Rad (-15) {
legDirections.cnt.p_insId = LEG_DIRECTION_FRONT
}
Loop



Loading…
Cancel
Save