Please help, I want to get the hang of LinePick in my program. I am trying to use it for seeing whether or not the Lens Flares should appear.
I have a Camera (cam) - Camera
a Spaceship (ship) - mesh
and the star(star) - sprite
plus some Lens Flares (Flare1, Flare2 etc) - Sprites.
I have set the ship to be EntityPickMode 2
now I just neeed to understand the use of the coordinates. The second set of values to be precise, do they respond to a vector, outlining the direction of the imaginary 'line' used for picking? How can I just check for a straight line from the centre of the camera viewport?
Sorry, but Im having a complete mind-blank today (got a cold *sniff*!)
I have a Camera (cam) - Camera
a Spaceship (ship) - mesh
and the star(star) - sprite
plus some Lens Flares (Flare1, Flare2 etc) - Sprites.
I have set the ship to be EntityPickMode 2
now I just neeed to understand the use of the coordinates. The second set of values to be precise, do they respond to a vector, outlining the direction of the imaginary 'line' used for picking? How can I just check for a straight line from the centre of the camera viewport?
Sorry, but Im having a complete mind-blank today (got a cold *sniff*!)