Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Collision detection....

Started by tarunkhurana1982 Jan 2, 2009 at 2:38 PM 0 replies 750+ views
Original Post
tarunkhurana1982
tarunkhurana1982
Hi All, Can any one post some code sample for handling collision detection for models/triangles/vertices? Or any code for converting object co-ordinate to screen co-ordinate? thanx.
swiftcoder
swiftcoder
Quote:
Original post by tarunkhurana1982
Can any one post some code sample for handling collision detection for models/triangles/vertices?
This is better handled by a dedicated library, and has little or nothing to do with OpenGL. Take a look at a couple of dedicated physics libraries, such as Newton or ODE.
Quote:
Or any code for converting object co-ordinate to screen co-ordinate?
The gluProject() function can accomplish this.
Tristam MacDonald. Ex-BigTech Software Engineer.ย Future farmer. [https://trist.am]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.