It’s not supported out of the box in PlayCanvas but you can add groups and masks to the entities and create a raycast that can filter those groups. See thread: Raycast through multiple entities
It’s not supported out of the box in PlayCanvas but you can add groups and masks to the entities and create a raycast that can filter those groups. See thread: Raycast through multiple entities