Archived

This topic is now archived and is closed to further replies.

ogl

Help!

Recommended Posts

ogl    122
Hi I''ve finally managed to implement the selection buffer - it now works so when an object is clicked it shows which object is clicked on - what I now need is to be able to select these object around the scene - any code, examples appreciated Thanx in advance

Share this post


Link to post
Share on other sites
zedzeek    529
better title description mate.
i assume u have selected an object and now u wanna click somewhere else on the screen and u want the object to move there

easy its nearlly the same just use gluUnProject to get the world pos under the cursor and stick the objects coords at this pos.

http://members.xoom.com/myBollux

Share this post


Link to post
Share on other sites