Hi All, can anyone help me out. Im using Mouse.Pick to check if the mouse is over objects but the function says it will add a Basic3D.Distance as at the moment it will select all the objects in front of the camera rather than just the one object in the line of sight (if that makes sense) so I need to get the distance of the object and make sure its in front on the camera.
Also I have my floor as planes can anyone advise why these do not get affected by the lighting and also some sides of a cube see below
There Sphere has a Green Lighting affect applied which you can see cast on the pillar to the left but the wall to the right does not get affected and also the floor/roof doesn't.