Difference between revisions of "Event.LEFT JOYSTICK"

 
Line 12: Line 12:
 
'''strength''': (number) <translate>distance vector from the center to current position from 0 to 1</translate><br/>
 
'''strength''': (number) <translate>distance vector from the center to current position from 0 to 1</translate><br/>
 
'''playerId''': (number) <translate>id of controller/player</translate><br/>
 
'''playerId''': (number) <translate>id of controller/player</translate><br/>
 +
 +
{{Controller}}

Latest revision as of 09:20, 4 December 2019


Available since: Gideros 2011.6
Value: leftJoystick
Defined by: Controller

Description

Event for movement of the left joystick

Parameters

x: (number) x vector from -1 to 1
y: (number) y vector from -1 to 1
angle: (number) angle at which joystick is positioned in radians, left being 0 and increasing in clockwise direction
strength: (number) distance vector from the center to current position from 0 to 1
playerId: (number) id of controller/player