You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a CharacterBody2D and a TileMap are moved to the same SubViewport as its children through the codes, the collision between the body and tiles will be broken.
P.S. This bug will be automatically fixed when the scene gets reloaded.
Steps to reproduce
Prepare a CharacterBody2D with move_and_slide() implemented and velocity not (0, 0)
Make a TileMap with collision and draw a wall or the ground, and make the body move towards the wall or ground.
Input some codes that moves the body and the tiles to the SubViewport as its children
The text was updated successfully, but these errors were encountered:
Lazy-Rabbit-2001
changed the title
Move a CharacterBody2D and TileMap underto the Same SubViewport Caused the Collision
Move a CharacterBody2D and TileMap underto the Same SubViewport via the Codes Caused the Collision
Oct 14, 2023
Lazy-Rabbit-2001
changed the title
Move a CharacterBody2D and TileMap underto the Same SubViewport via the Codes Caused the Collision
Move a CharacterBody2D and TileMap underto the Same SubViewport via the Codes Causes the Collision Failed
Oct 14, 2023
Lazy-Rabbit-2001
changed the title
Move a CharacterBody2D and TileMap underto the Same SubViewport via the Codes Causes the Collision Failed
Move a CharacterBody2D and TileMap to the Same SubViewport as its Children via the Codes Causes the Collision Failed
Oct 14, 2023
Godot version
4.2 beta1
System information
Windows 11, GLES3
Issue description
When a
CharacterBody2D
and aTileMap
are moved to the sameSubViewport
as its children through the codes, the collision between the body and tiles will be broken.P.S. This bug will be automatically fixed when the scene gets reloaded.
Steps to reproduce
move_and_slide()
implemented andvelocity
not (0, 0)SubViewport
as its childrenMinimal reproduction project
CollisionIssue.zip
The text was updated successfully, but these errors were encountered: