I’m playing around with doing a Homeworld-esque type game. I want to be able to select a ship by clicking on it.
From everything I’ve read it looks like I need to create a MouseBehavior which on a mouse click does a PickRay to return the closest object. Is that correct?
I didn’t see any examples of this sort of thing in the tutorial or on j3d.org (they always use MouseRotate/Translate/Zoom). Any example code out there I can pick at?