Sign in to follow this  
mavic

Something like collisions detection

Recommended Posts

mavic    122
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
Tera_Dragon    260
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
mavic    122
Thanks for the quick reply's i will read the tutorials you gave me.
If some else has some other information i can use please let me know.

Share this post


Link to post
Share on other sites

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