Jump to content
  • Advertisement
Sign in to follow this  
ajm113

Tile Collision in DirectX 3d?

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

How can I set up a tile collision for a simple squared floor I created in DirectX 3D and want to have a tile system set up so if I was supposed to have something that takes up 4 tiles I placed in the map, it would not let any other object go in a unavailable tile or let it be placed their or let AI go through it, what not... How would I start off? I know I need to create a array of 0s, 1s showing that that block is available or not, but how do I know if the grid would be correct size and know the user can't place a object outside the 'building' area? Project Details DirectX 9 3D, Win32, C++ VS2005 STD. [Edited by - ajm113 on August 2, 2008 2:33:26 AM]

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!