ReferenceScripting APIBodyComponentsetVelocity
BodyComponent.setVelocity
methodGives it a speed.
| Name | setVelocity |
|---|---|
| Kind | method of BodyComponent |
| Called as | bodyComponent.setVelocity(…) |
| Since | 0.3 |
Syntax
setVelocity(v: Place): voidParameters
| Name | Type | Description |
|---|---|---|
v | Place | The speed, each way |
Returns
Nothing.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.