Constructor
new VelocityControlMethod(parameter)
Parameters:
| Name | Type | Description |
|---|---|---|
parameter |
String | The parameter to be controlled (e.g. |
- Implements:
Methods
destroy()
Destructor.
setFriction(friction)
Set the parameter's friction.
Parameters:
| Name | Type | Description |
|---|---|---|
friction |
Number |
setVelocity(velocity)
Set the parameter's velocity.
Parameters:
| Name | Type | Description |
|---|---|---|
velocity |
Number |