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
Issue description:CollisionObject2Ds inside a CanvasLayer do not take the layer offset/position into account when FollowViewport is enabled in the CanvasLayer
Steps to reproduce:
Create a 2D scene with:
-- Camera2D (current with movement)
-- CanvasLayer with FollowViewport enabled. (changing scale doesn't seem to matter)
-- CollisionObject2D (like Area2D) with a CollisionShape2D with a connected signal (I used mouse entered/exited - easiest to see the issue with)
-- Turn on visible collision shapes
Note that the CollisionShape2D appears to move when the camera moves, but the area on the screen where the collision shape registers collisions remains the same.
Godot version: 3.2 Beta 6
OS/device including version: Windows 64bit
Issue description:
CollisionObject2D
s inside aCanvasLayer
do not take the layer offset/position into account when FollowViewport is enabled in theCanvasLayer
Steps to reproduce:
--
Camera2D
(current with movement)--
CanvasLayer
with FollowViewport enabled. (changing scale doesn't seem to matter)--
CollisionObject2D
(likeArea2D
) with aCollisionShape2D
with a connected signal (I used mouse entered/exited - easiest to see the issue with)-- Turn on visible collision shapes
Note that the
CollisionShape2D
appears to move when the camera moves, but the area on the screen where the collision shape registers collisions remains the same.Minimal reproduction project:
FollowViewportIssue.zip
The text was updated successfully, but these errors were encountered: