I have created a semi transparent cube(opacity 0.5) which acts as a pointer. When the user taps the screen, the cube and the material are cloned and the opacity is set to 1. I’m using blendType pc.BLEND_NORMAL.
After placing a cube, when I move the pointer around the placed cube sometimes gets occluded. When the pointer is infront of the cube, it works as expected, but when the pointer is halfway through the cube, it gets occluded.