Skip to content

Conversation

@jasonwinterpixel
Copy link

Shape queries dont set their transform if

p_transform.get_scale() != Size2(1, 1)

This triggers random failures on rotated shape queries as floating point imprecision is unpredictable here. This commit changes the error checking to use is_equal_approx, and to still set the transform.

Possibly could remove the ifdef DEBUG_ENABLED, as most godot users wouldnt be running debug builds.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant