Skip to content

Commit d4292ab

Browse files
authored
FirstPersonControls: Damping, separate move sources, release fix, E/Q keys. (#2239)
1 parent faa4216 commit d4292ab

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

types/three/examples/jsm/controls/FirstPersonControls.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ declare class FirstPersonControls extends Controls<{}> {
1414
*/
1515
lookSpeed: number;
1616

17+
/**
18+
* How quickly the movement and look velocity catches up to the input. Lower
19+
* values feel heavier (more inertia), `1` disables damping.
20+
*
21+
* @type {number}
22+
* @default 0.1
23+
*/
24+
dampingFactor: number;
25+
1726
/**
1827
* Whether or not it's possible to vertically look around. Default is `true`.
1928
*/

0 commit comments

Comments
 (0)