So basically, I am creating a lot of static bodies in my scene(we're talking thousands) and i wanted to see if there was a way to only have one static body as a parent and my game objects to be collisionshape children of that parent. the thing is, the whole reason each object had a static body is so I can interact with it through a raycast. when the scene is made up of one static body, raycast.get_collider() always gives the static body. I was wondering if its even possible to get the individual collisionshapes with raycasting.
thank you and have a nice rest of your day!