Raycast Sensor failing to detect specific component

ody: Hi everyone,

I’m having some trouble with a Raycast Sensor in my simulation. Despite the ray visually hitting the target, the sensor fails to detect a specific component.

The Issue: The sensor does not trigger or return a value when the ray intersects with the component in question. Other objects might be detected, but this specific one is ignored.

Technical Details:

VC Version: [e.g., 4.9 Premium]

Sensor Setup: Standard Raycast Sensor (from eCatalog) / Python-based Raycast.

Target Component: The object has valid geometry and is visible in the 3D world.

What I’ve checked so far:

The Range is long enough to reach the object.

“Show Ray” is enabled, and I can see the ray physically intersecting the component.

I have looked into the Detection Filters but couldn’t find a mismatch.

Questions:

Are there specific Collision Properties or Physics entities that must be enabled for a component to be “seen” by a Raycast?

Could it be related to the Node hierarchy or the Detection Layer settings?

Is there a way to debug what exactly the Raycast is “hitting” via Python?

Has anyone encountered this behavior before or knows which setting I might be overlooking?

Thanks in advance for your help!

Best regards

Versuch 5 if.vcmx (340.8 KB)

Remove the DetectionContainer in your RayCast Sensor, your product is not on a Path nor a Container, and you don’t need to filter between possible components, so you don’t need one.

Also you don’t need a range of 1000mm, 50 mm are enough to detect the products but not the machine