Joystick
:getAxis
機能
アナログ軸の取得
構文
getAxis(
num
)
引数
num
アナログ軸番号。
戻り値
-1.0~1.0の値が戻されます。中心値が0.0です。
説明
アナログ軸の状態を取得します。