49 lines
870 B
Markdown
49 lines
870 B
Markdown
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [Velocity](velocity.md)
|
||
|
||
# Class: Velocity
|
||
|
||
## Hierarchy
|
||
|
||
* **Velocity**
|
||
|
||
## Index
|
||
|
||
### Constructors
|
||
|
||
* [constructor](velocity.md#constructor)
|
||
|
||
### Properties
|
||
|
||
* [v](velocity.md#v)
|
||
* [w](velocity.md#w)
|
||
|
||
## Constructors
|
||
|
||
### constructor
|
||
|
||
\+ **new Velocity**(): *[Velocity](velocity.md)*
|
||
|
||
*Defined in [src/dynamics/Velocity.ts:32](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L32)*
|
||
|
||
**Returns:** *[Velocity](velocity.md)*
|
||
|
||
## Properties
|
||
|
||
### v
|
||
|
||
• **v**: *[Vec2](vec2.md)*
|
||
|
||
*Defined in [src/dynamics/Velocity.ts:29](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L29)*
|
||
|
||
linear
|
||
|
||
___
|
||
|
||
### w
|
||
|
||
• **w**: *number*
|
||
|
||
*Defined in [src/dynamics/Velocity.ts:32](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L32)*
|
||
|
||
angular
|