<vizjoy:joystick>.getRotation

Returns rotation

 

<vizjoy:joystick>.getRotation()

 

Remarks

This command will return the rotation of the joystick along the X,Y,Z axis. Most joysticks only support rotations along the Z axis, which is usually referred to as the rudder.

Return Value

[rx,ry,rz]