I would like to check for collison between a sprite and a 3D Model.
After doing some searching I ended up with this code
BoundingBox handBox = new BoundingBox(new Vector3(handX, handY, 0), new Vector3(handX, handY, 0));
foreach (ModelMesh myModelMeshes in model.Meshes)
if (myModelMeshes.BoundingSphere.Intersects(handBox))
return true;
return false;
Here two values that should return false and not true
But the problem is that it's always true. Am I missing something obvious?