49 lines
870 B
Markdown
Raw Permalink Normal View History

2020-07-28 20:21:55 -07:00
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [Velocity](velocity.md)
2020-07-27 00:12:01 -07:00
2020-07-28 20:21:55 -07:00
# Class: Velocity
2020-07-27 00:12:01 -07:00
## Hierarchy
* **Velocity**
## Index
2021-04-16 17:10:15 +02:00
### Constructors
* [constructor](velocity.md#constructor)
2020-07-27 00:12:01 -07:00
### Properties
* [v](velocity.md#v)
* [w](velocity.md#w)
2021-04-16 17:10:15 +02:00
## Constructors
### constructor
\+ **new Velocity**(): *[Velocity](velocity.md)*
2021-05-11 18:30:36 -07:00
*Defined in [src/dynamics/Velocity.ts:32](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L32)*
2021-04-16 17:10:15 +02:00
**Returns:** *[Velocity](velocity.md)*
2020-07-27 00:12:01 -07:00
## Properties
### v
• **v**: *[Vec2](vec2.md)*
2020-07-27 00:12:01 -07:00
2021-05-11 18:30:36 -07:00
*Defined in [src/dynamics/Velocity.ts:29](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L29)*
2021-04-16 17:10:15 +02:00
linear
2020-07-27 00:12:01 -07:00
___
### w
• **w**: *number*
2021-05-11 18:30:36 -07:00
*Defined in [src/dynamics/Velocity.ts:32](https://github.com/shakiba/planck.js/blob/acc3bd8/src/dynamics/Velocity.ts#L32)*
2021-04-16 17:10:15 +02:00
angular