Browse Source

ゴートうのあし,パラメータだけ保持

main
みてるぞ 1 year ago
parent
commit
ee09e3b153
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      android/modules/goatoh.mod.hsp

+ 18
- 0
android/modules/goatoh.mod.hsp View File

@@ -1,6 +1,14 @@
#module \
Goatoh

#enum LEG_LF = 0
#enum LEG_RF
#enum LEG_LH
#enum LEG_RH

#enum LEG_DIRECTION_FRONT = 1
#enum LEG_DIRECTION_HIND

#defcfunc local \
New \
double p_initPosX,\
@@ -9,6 +17,16 @@ New \
posX.insNum = p_initPosX
posY.insNum = p_initPosY

legArgs.LEG_LF.insNum = 0.
legArgs.LEG_RF.insNum = 0.
legArgs.LEG_LH.insNum = 0.
legArgs.LEG_RH.insNum = 0.

legDirections.LEG_LF.insNum = LEG_DIRECTION_FRONT
legDirections.LEG_RF.insNum = LEG_DIRECTION_HIND
legDirections.LEG_LH.insNum = LEG_DIRECTION_HIND
legDirections.LEG_RH.insNum = LEG_DIRECTION_FRONT

scale.insNum = 2.

; 角度


Loading…
Cancel
Save