Skip to content

Commit a166f7c

Browse files
authored
Fix incorrect default collision layer in Your first 3D game (#6928)
Physics and rendering layers are counted from 1 in Godot 4.0 and later.
1 parent 4d86f91 commit a166f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting_started/first_3d_game/06.jump_and_squash.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The important point is that you can use layers and masks to filter physics
2626
interactions, control performance, and remove the need for extra conditions in
2727
your code.
2828

29-
By default, all physics bodies and areas are set to both layer and mask ``0``.
29+
By default, all physics bodies and areas are set to both layer and mask ``1``.
3030
This means they all collide with each other.
3131

3232
Physics layers are represented by numbers, but we can give them names to keep

0 commit comments

Comments
 (0)