Picking Game Objects

hi guys,

I’m experimenting with OnMouseDown for triggering objects to do something when picked (animate, play a sound, whatever)

But I’m only registering a pick on mesh objects, not their game object parent, so:

  1. are only meshes pickable, not game objects? or have I done something wrong?

  2. if that is the way it works, how would you “pick” an assembly of objects (some of which need to animate)and have it do something (say rotate) as a whole?

thanks!

OK, I imported some animated meshes and still the only thing that got recognized from a pick was the test cube created in Unity…after examining it, I discovered it had a Box Collider, so I put one on everything else (game objects as well), and now all is pickable :smile: