armory/blender/arm/logicnode/input
E1e5en 813f77dc0a Logic Node - On Swipe
The node for the swipe event.

Input parameters:
- Time - duration of the swipe (default value 0.15 s);
- Min Length (px) - the minimum length that the swipe must “pass” (default value 100 px).

Output parameters:
- Direction - normalized vector of the swipe direction;
- Length (px) - the length of the swipe (to assess the “strength”);
The Length output parameter is calculated by the vector value (without normalization) to relate to the input value.
- Angle (0-360) - swipe angle in the range from 0 to 360 degrees (0 is on the right, i.e. Vector (1, 0) = 0 degrees).
- States are states with direction output (Up, Down …). By default, they are not displayed, but if you press “Add 4 State”, then 4 states will appear (Up, Down, Left, Right) and if again, then 8 states will already be displayed.
Determining direction for a state:
for 4 directions - "circle" is divided into 4 segments of 90 degrees;
for 8 directions - "circle" is divided into 8 segments of 45 degrees.
2020-09-15 09:08:59 +03:00
..
__init__.py Ensure correct node section order 2020-09-09 15:18:48 +02:00
LN_gamepad.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_gamepad_coords.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_get_mouse_lock.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_get_mouse_visible.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_keyboard.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_mouse.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_mouse_coords.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_on_gamepad.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_on_keyboard.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_on_mouse.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_on_surface.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_on_swipe.py Logic Node - On Swipe 2020-09-15 09:08:59 +03:00
LN_on_virtual_button.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_sensor_coords.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_set_mouse_lock.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_show_mouse.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_surface.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_surface_coords.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00
LN_virtual_button.py added node versioning information to all node classes 2020-09-13 11:27:58 +02:00