A Pick is like a laser range-finder. You define a point in space for the laser to start at and the direction it'll be shot in. The first thing the laser strikes is the result of your pick. You can now (for example) get the exact co-ordinates of the hit, grab the entity handle, and figure out the normal for the triangle that you hit.
An example usage would be to pick straight down from an ant to get the angle of the ground it's walking on. You might use this to align its mesh to the ground so that it looks like the ant's feet are touching the ground realistically when it walks over a hill.
Note that you must register the Pick "mode" for entities, or your picks will go right through them. See the docs.
OT: Sir Gak - thread hijacking is not cool. I almost didn't read this thread because it was cluttered up. Please start a new thread next time.
An example usage would be to pick straight down from an ant to get the angle of the ground it's walking on. You might use this to align its mesh to the ground so that it looks like the ant's feet are touching the ground realistically when it walks over a hill.
Note that you must register the Pick "mode" for entities, or your picks will go right through them. See the docs.
OT: Sir Gak - thread hijacking is not cool. I almost didn't read this thread because it was cluttered up. Please start a new thread next time.