the walls mean stop? don't they?
hi,
i''ve been experimenting with nehe''s lesson 10 and 23, but one thing i can''t get to work is the clipping.
like i pass straight thru the walls without being stopped.
like is there any way to stop passing thru'' the walls, i''ve tried using the glpickmatrix function, but it only works in one direction and is not very accurate.
what can be the other way of implementing this...
cyanide
I hate to break the news to you, but there is a whole separate world called collision detection and it is not a function of the API, you would have to write your own routines for banging your head against the walls.
NeoGL
NeoGL
and even more bad news "it is the most difficult thing to do in a game", though walls aint to bad
http://members.xoom.com/myBollux
http://members.xoom.com/myBollux
hi,
well then where can i get it?
like in simple plain english? a tut for that matter? i''m new to opengl
BTW Neogl: if you know something more it doesn''t neccesarily mean that you have to be rude...??
Greetz from the "CYANIDE"
http://www.sanchit.8m.com/
well then where can i get it?
like in simple plain english? a tut for that matter? i''m new to opengl
BTW Neogl: if you know something more it doesn''t neccesarily mean that you have to be rude...??
Greetz from the "CYANIDE"
http://www.sanchit.8m.com/
he wasnt rude at all.
ok, i suggest u to write your own CD rutins, all u need to know is intersections testing, its a math thing, look it up on the net.
ok, i suggest u to write your own CD rutins, all u need to know is intersections testing, its a math thing, look it up on the net.
yeah, he wasn''t rude.
do a search in the programming resources for "collision detection" or "physics." i used Chris Hecker''s physics tutorials to help me write collision detection, but it might be too much for the game you''re doing. i''m not sure what you''re doing, but i''m doing a simulation, so it was necessary. good luck.
a2k
do a search in the programming resources for "collision detection" or "physics." i used Chris Hecker''s physics tutorials to help me write collision detection, but it might be too much for the game you''re doing. i''m not sure what you''re doing, but i''m doing a simulation, so it was necessary. good luck.
a2k
hi,
thanks for all the advice.
and yup! sorry neo, you weren''t rude.
because of my bad english (i''m not an indian) and the phrase "banging your head against the walls" made me a slightly confused. lol
thanks again,
san.
Greetz from the "CYANIDE"
http://www.sanchit.8m.com/
thanks for all the advice.
and yup! sorry neo, you weren''t rude.
because of my bad english (i''m not an indian) and the phrase "banging your head against the walls" made me a slightly confused. lol
thanks again,
san.
Greetz from the "CYANIDE"
http://www.sanchit.8m.com/
But what are some websites that feature good tutorials for collision detection on walls!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?!?
Open mouth, insert foot
Open mouth, insert foot
You probably won''t go far wrong if you check here:
www.flipcode.com
It has lots of tutorials and articles on all kinds of things. I think there are enough about colission detection too.
www.flipcode.com
It has lots of tutorials and articles on all kinds of things. I think there are enough about colission detection too.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement