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 x
number The X coordinate.
y
number 0 optional The Y coordinate.
z
number 0 optional The Z coordinate.
-
Starts the engine. This will emit a series of
motion
events until the friction stopped the motion. -
Stops the engine abruptly.
-
Takes a sample with the given coordinates.
Name Type Default Description x
number The X coordinate.
y
number 0 optional The Y coordinate.
z
number 0 optional The Z coordinate.