Yes you can use the D3DX library for collision detection but those are expensive tests. You need to use some type of spatial partioning system to ensure your game does not become a really fancy slide show.