Sign in to follow this  

Something like collisions detection

This topic is 4397 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello you all, first of all i am a real n00b when it comes to opengl. I have read most of nehe’s tutorials and started to play with the source, then I came up with this (see my source). Now I can move a box around on a really long white “road” but on that “road” there is a blue “jump/box” and I don’t want to go trough it I want to go over it. Can some tell me how this is done? I am not attending to write Quake X or so, I just want to know some basics so I know what I am talking about when it comes to GL http://s64.yousendit.com/d.aspx?id=1WS2IBBPF6P8E3A3P5NJCKEZOW

Share this post


Link to post
Share on other sites
First of all opengl has nothing to do with collision detection. Collision detection is about math.
There are several articles on collision detection in the article section (here). You will probably want to start with something simple such as sphere or bounding box collisions.
There is also a collision detection tutorial on nehe (here).

Share this post


Link to post
Share on other sites

This topic is 4397 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this