Selecting an entity in 3d space

Blitz3D Forums/Blitz3D Beginners Area/Selecting an entity in 3d space

Back to coding in b3d after being a way for a while exsploring c# and blitzmax, does a month or 2 count as a while?

Any way to the point.

My question is how do you select and an entity in 3d space.

So that may not be clear so here's an example.

I have a cube rotating in blitz 3d, I want to know when thats clicked on, what is the best way to do this, sorry if this is easy, I more wanted to know the best way than any thing.

Thanks in advance :P

Make it pickable with the EntityPickMode() command, and using CameraPick() at the mouse coordinates.

aha
Thanks for that advice

One question
IF you have two entitys one behind the other both pickable and call camrea pick which one will get picked, I persume the front one, well I hope so!

Yep, the front one :)

@GitTech hey een nederlander !


@GitTech hey een nederlander !



En drie keer raden uit welke stad ik kom :P

Aha, I am confused, I take this has nothing to do with my problem which is no longer a problem :P