Linux Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8
Issue description
The is_floor() function reports incorrectly (or is off) when being applied to a ParallaxLayer Tilemap and a Player with Camera enabled. If camera is disabled, then is_floor() works correctly.
Steps to reproduce
Create a CharacterBody2D Player with a camera. Also create a ParallaxLayer and a TileMap floor with a physics layer collider. When the Player drops to the floor it will not stop at the floor but somewhere else depending on the ParalaxLayers position.
Tested versions
v4.3.dev3.official [36e943b6b]
System information
Linux Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8
Issue description
The
is_floor()
function reports incorrectly (or is off) when being applied to a ParallaxLayer Tilemap and a Player with Camera enabled. If camera is disabled, then is_floor() works correctly.Steps to reproduce
Create a CharacterBody2D Player with a camera. Also create a ParallaxLayer and a TileMap floor with a physics layer collider. When the Player drops to the floor it will not stop at the floor but somewhere else depending on the ParalaxLayers position.
Project![project](https://github.com/godotengine/godot/assets/930478/97b82af4-4ad7-41d5-ba6a-504806cf023f)
Camera Enabled![TilemapCamEnabled](https://github.com/godotengine/godot/assets/930478/46533874-05e5-4bde-babc-7f4aa49cc746)
Camera Disabled![TilemapCamDisabled](https://github.com/godotengine/godot/assets/930478/0c551fe5-6612-4de8-a15e-58e0306d2636)
Minimal reproduction project (MRP)
Archive.zip