Properties:
| Name | Type | Description |
|---|---|---|
friction |
number | (default: |
running |
bool | [readonly] If the engine is currently running. |
Extends
Methods
-
Resets the engine to the given initial coordinates.
Name Type Default Description xnumber The X coordinate.
ynumber 0 optional The Y coordinate.
znumber 0 optional The Z coordinate.
-
Starts the engine. This will emit a series of
motionevents until the friction stopped the motion. -
Stops the engine abruptly.
-
Takes a sample with the given coordinates.
Name Type Default Description xnumber The X coordinate.
ynumber 0 optional The Y coordinate.
znumber 0 optional The Z coordinate.