Pick Entity

Blitz3D Forums/Blitz3D Beginners Area/Pick Entity

What does it mean to make objects pickable?

How does it work?

Do you know of any tutorials?

first you have to set the entity you want to pick to be able to be picked, using:

http://blitzbasic.com/b3ddocs/command.php?name=EntityPickMode&ref=3d_a-z

then you can use the pick commands, this is the camera pick command, which is quite often used with the mouse co-ords to pick an entity that the user has clicked on:

http://blitzbasic.com/b3ddocs/command.php?name=CameraPick

Thanks but what does it do? Why would I ever want or need to use this?

They are for when you need to identify/select an entity, for whatever reason.

For example, you can use CameraPick with the mouse position to select an entity on-screen by clicking on it.