Add intersects3d switch