|
Re: Help program.
On your joystick block, there should be an output for "POVs" which returns an array of integers. Index the first element of that array, and it'll give you the angle that the POV is being pressed. If nothing is being pressed, the value is -1.
Up is 0
Right is 90
Down is 180
Left is either -90 or 270; I don't remember
__________________
Head Programmer / Driver
|