• Advertisement
Sign in to follow this  

RTS Collision Detection

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

Hi! I am working on a 3D RTS. It`s not much right now. I have a moving camera and selectable units. I just started to work on a collision detecton system. I would like to now what kind of collision detection algorithms are used in commercial RTS games ( Age of Mithology, Warcraft, Total Anihilation ). If you are familiar with this topic I would appreciate your input. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
A quick google search will give you thousands of results for collision detection. There are also quite a few articles on CD on GameDev.

Articles -> Game Programming -> Collision Detection

I couldn't tell you about what techniques the games you mentioned use, since i don't know, but all 3D space collisions are handled in similar ways.

Yuo might also want to do a bit of research into bounding volumes. I recommend this link to get you started:

http://www.toymaker.info/Games/html/collisions.html

Share this post


Link to post
Share on other sites

I have read the CD tutorials on GameDev and also a lot of tutorials on other web pages.
The problem is that these tutorials usualy aproach the CD issue from a FPS perspective. This makes it difficult to understand what CD system would fit best a RTS game.
I found the page pointed by you really helpful, if brought some light.
Thanks!

Share this post


Link to post
Share on other sites
Well, in Warcraft 3 they use numbers to represent different tiles. (I.E. 1 for walkable, 2 for non-walkable, 3 for water, 4 for ??????, etc.)

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I used OPCODE for my collision detection:

http://www.codercorner.com/Opcode.htm

Should work okay for your RTS game.


Mr. Creamy

Share this post


Link to post
Share on other sites

Mr. Creamy do you know where I can find some user documentation for OPCODE?
The user manual link posted on codercorner site is dead.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Hi Calin, just tried this link for the user guide and it seemed to work:

http://www.codercorner.com/OpcodeUserManual.pdf

Mr. Creamy

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement