CreateVector
Produces a vector of given length and direction.
Syntax
C++
Python
def CreateVector( inLength: float, inDirection: float, / ) -> outVector: Vector2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLength | float | Desired length of the vector in pixels | |
![]() |
inDirection | float | Desired direction of the vector in degrees | |
![]() |
outVector | Vector2D | The resulting vector |


