Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.
new Vector2f(number x, number y)
var vector2f = new Vector2f(1, 2);
Name | Type | Description |
---|---|---|
x | number | X value |
y | number | Y value |
length | number | read only length of the Vector2f |
returns: Vector2f
Name | Type | Description |
---|---|---|
vec | Vector2f |
returns: Vector2f
Name | Type | Description |
---|---|---|
vec | Vector2f |
returns: Vector2f
Name | Type | Description |
---|---|---|
vec | Vector2f |
returns: Vector2f
Name | Type | Description |
---|---|---|
vec | Vector2f |
By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.