Detect a collision between a body and a CSGShape

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

I’m using a CSGPolygon in order to make a track/race road, and my goal is to detect with my car is on it. But I can’t detect this collision.

Parts of the car use Area/CollisionShapes. I detect the collision with all others things, but with the CSGPolygon, not. The flag use_collision is on, the track is physically present, but to my script is like it was invisible. I have tried use raycast, but no success.

Is there any way to detect this collision?