|
Re: Specifying Axis for Motor
The function to read from a joystick provides several outputs. One output is an array of values representing all the axes. The most straightforward way to get the value of the axis you are interested in is to use an Array Index function. The result is a single number that you can use for whatever you want, including as the input of a Motor Set function.
Array Index can return multiple individual outputs at the same time if you want to get more than one axis from a joystick.
|