1681-engine / index / stickVector
Function: stickVector() ​
ts
function stickVector(
dx,
dy,
radius
): StickVector;Defined in: src/input/stickAxis.ts:18
The thumb's offset from where the stick was planted, as a vector of length at most 1 (radius = full tilt).
Parameters ​
| Parameter | Type |
|---|---|
dx | number |
dy | number |
radius | number |