Add PackedVector2iArray and PackedVector3iArray #5713
Replies: 1 comment
-
This is already being tracked in #5486. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since
Vector2i
andVector3i
were added, I lack the equivalent packed arrays:PackedVector2iArray
andPackedVector3iArray
.I'm using Godot v4.0.beta3.official [01ae26d31] and if I try to set a value of a
PackedVector2iArray
to aVector2i
I get an error (expected):Invalid set index '0' (on base: 'PackedVector2Array') with value of type 'Vector2i'
I would really appreciate the addition of these arrays, since I'm working with
Vector2i
for tiles positions to avoid floating point errors.Beta Was this translation helpful? Give feedback.
All reactions