SCA_VibrationActuator(SCA_IActuator)¶
base class — SCA_IActuator
-
class
SCA_VibrationActuator(SCA_IActuator)¶ Vibration Actuator.
-
joyindex¶ Joystick index.
Type: integer (0 to 7)
-
strengthLeft¶ Strength of the Low frequency joystick’s motor (placed at left position usually).
Type: float (0.0 to 1.0)
-
strengthRight¶ Strength of the High frequency joystick’s motor (placed at right position usually).
Type: float (0.0 to 1.0)
-
duration¶ Duration of the vibration in milliseconds.
Type: integer (0 to infinite)
-
isVibrating¶ Check status of joystick vibration
Type: bool (true vibrating and false stopped)
-
hasVibration¶ Check if the joystick supports vibration
Type: bool (true supported and false not supported)
-
startVibration()¶ Starts the vibration.
Returns: None
-
stopVibration()¶ Stops the vibration.
Returns: None
-