Original Post
I wrote some code with C# and MDX for a simple game engine. I'm trying to check whether two objects are collide or not. I know methods such mesh.intersect, Geometry.Boxboundprobe, Geometry.Sphereboundprobe but all of them look working incorrect. There's something wrong with my code. I'm loading x files from a different class and i derive a different instance from class for every mesh. So every mesh has it's own object space(Device.Transform.World). I have a cube which moves with camera and i'm checking the collision between this cube and other objects. The cube and other objects in the space have min and max points calculated with the Geometry.ComputeBoundingBox method. when i try to use Geometry.BoxBoundProbe method to check collision between them the cube collide anything but other objects. The points that cube collides are not on the other objects. I'm confused because i tried mesh.intersect too... here is my code http://rapidshare.de/files/25731442/carp_deneme.rar.html