nestled raycast issue

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sweens

hej gang,

I have an issue with a raycast not colliding in a nestled scene. My hierarchy is Main > scene > scene > scene_with_raycast and script
when I run the scene_with_raycast on it’s own, the raycasts work perfectly. but only when it’s in my nestled pause menu that it begins to fail.

I am using godot stable 3.4

further info: I am rotating a cube and are raycasting from camera forward to read which side is facing the camera. again, works as expected in original scene. in the pause menu, it reads only the first (area body) face of the cube, the rest it reads no collision.

quick debug: the pause type on all needed nodes is “process” or “inherit” when applicable. the raycast/body layers and masks are as they should be. the raycast position is as it should be.

The raycast instance is enabled, right?

exuin | 2023-02-28 05:30

ye, and it works on the first face of the cube. the rest of the cube isn’t read, and when the first face rotates back around it works again. it’s quite odd.

sweens | 2023-03-02 19:55