X Tutup
Skip to content

Fix collide_shape return type#75260

Merged
YuriSizov merged 1 commit intogodotengine:masterfrom
rburing:fix_collide_shape_return
Mar 25, 2023
Merged

Fix collide_shape return type#75260
YuriSizov merged 1 commit intogodotengine:masterfrom
rburing:fix_collide_shape_return

Conversation

@rburing
Copy link
Member

@rburing rburing commented Mar 23, 2023

The type used to be a plain Array of vectors, so now it is a TypedArray of vectors.

For both 2D and 3D.

Fix PhysicsDirectSpaceState3D::_collide_shape return type.
Also PhysicsDirectSpaceState2D::_collide_shape.
@rburing rburing force-pushed the fix_collide_shape_return branch from dc060cf to 61429a5 Compare March 23, 2023 15:16
@rburing rburing requested a review from a team as a code owner March 23, 2023 15:16
@YuriSizov YuriSizov added this to the 4.1 milestone Mar 25, 2023
@YuriSizov YuriSizov merged commit 4640b55 into godotengine:master Mar 25, 2023
@YuriSizov
Copy link
Contributor

Thanks!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.0.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PhysicsDirectSpaceState collide_shape returns the wrong type

2 participants

X Tutup