Archived

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

AHHHHH!!!!!!!!!!!!

This topic is 5900 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

AHHHHHHHHHHHHH!!!!!!!!!!! I have spent the last 3 weeks getting the collision detection for my game to work without any luck. After numerous posts for help and getting tips like use bounding boxes etc, I am just going to ask, "CAN SOMEONE WRITE THE COLLISION DETECTION CODE FOR ME". I don''t want ways I can do collision detection, I want code, and not packages like ColDet. I am very stressed at the moment.:-O Download my source at - http://home.iprimus.com.au/laser1/car.zip. Its in DirectX and VisualC++. P.S. search for my other posts using my username for more info

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I dont feel like downloading your source. But if you post some information like what type of collision detection you need and wether or not you will put me in the credits, I might consider writing your code.

Share this post


Link to post
Share on other sites
Ok, My game is a GTA 2 type game. Two X file models are loaded, a car model and city model. I want to check if the car model hits the city model. The game is in DirectX8 and Visual c++. I don''t care what type of collision detection method is used as long as it works and is accurate enough.

And yes I will put you in the credits with bold letters if you can write me some code.

goto the following site for some more info -
http://home.iprimus.com.au/laser1/help.htm

Share this post


Link to post
Share on other sites
If you don't understand the techniques, and are not willing to take the time to learn them then you don't deserve to be writing a game. Nobody said it'd be easy or that you'd be done in a couple of months; this stuff take time.

I was about to advise you to head over to the Math and Physics forum, but with your temperament you wont learn anything - they do pretty high-level stuff most of the time. So...

Go buy a book like Tricks of the Game Programming Gurus and read it . Such books explain the principles and concepts behind this stuff, and also provide some example code. G'ahead, go learn.

Edit: formatting.



To you it's a Bently, to me it's a blue car...
"Diddy"
P.Diddy

Edited by - Oluseyi on October 21, 2001 12:33:27 PM

Share this post


Link to post
Share on other sites
quote:

I don''t want ways I can do collision detection, I want code, and not packages like ColDet.



So, you want code written for you but you''re not willing to use prewritten open source libraries like ColDet?

Hmmmm. Perhaps you should do a bit more research on your options.

---------------------------
FaceHat Software -- Wear the hat.

Share this post


Link to post
Share on other sites
Decent enough chunk of code. You probably want to check your email- I didn''t want to spam the forum with my response (I got a little windy)



And guys... I think he has quite a few of the basics down... his collision detection does work- just not very well.

-Tok.



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Hey, I was''t joking... You really /could/ be "boinked" by some irate looney wielding a rubber malet." -Baldor the Bold

Share this post


Link to post
Share on other sites
Getting other people to write code for you will get you one thing: nothing.

If I went up to my boss and said "I don''t understand how this paticular thing works, so you better get someone to do it for me," he would probably laugh in my face.

When you have a problem that you just can''t beat, that''s when you turn up the heat and make it happen. (BTW: this is also the best part of coding IMO. There''s nothing like finally nailing a problem you''ve been stressing over.)

What you need: a book or your notes on linear algebra, geometry, & trig; 1 pad of graph paper; a pen or pencil; and a pledge to yourself that you''re going to make it work no matter what happens. If you have these, your code will be up & running before you know it.

"If consquences dictate our course of action, it doesn''t matter what''s right, it''s only wrong if you get caught."
- Tool

Share this post


Link to post
Share on other sites
Ok, I since your all telling me to do it myself. I will. But I have one direct x question. If I have two meshes. Each being rotated and translated using different matrix. Will their coordinates be defined from the matrices combined or from just from its own matrix.

Edited by - flashlaser on October 21, 2001 5:51:18 PM

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
This guy is lazy. Take a look at his site. He took a screen shot of some VC code cause he was too lazy to do syntax coloring himself. Its funny.

Share this post


Link to post
Share on other sites