Skip to content

Conversation

@rametta
Copy link
Contributor

@rametta rametta commented Jul 11, 2023

In the example for setting collision mask bits by script, it is explaining how to set the bits for layers 1, 3, and 4 but the code example is also enabling layer 32, which it shouldn't. Layer 32 should also be 0 instead of 1 to following what was explained above it and below it.

@skyace65 skyace65 added bug area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.0 cherrypick:4.1 labels Jul 13, 2023
@skyace65 skyace65 merged commit 64a90bd into godotengine:master Jul 13, 2023
@skyace65
Copy link
Contributor

Thanks!

mhilbrunner pushed a commit that referenced this pull request Aug 1, 2023
Fix bug in collision masking bits example
mhilbrunner pushed a commit that referenced this pull request Aug 1, 2023
Fix bug in collision masking bits example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants