Fixed bug with raycasts and 128-bit groups masks.

This commit is contained in:
enn0x 2011-08-04 21:54:16 +00:00
parent 69738d7975
commit 5430833ef4

View File

@ -1108,7 +1108,7 @@ raycast_closest_shape(const PhysxRay &ray,
}
_ptr->raycastClosestShape(ray._ray, (NxShapesType)shapesType, hit,
mask.get_mask(), ray._length, hints);
mask.get_mask(), ray._length, hints, groupsPtr);
return PhysxRaycastHit(hit);
@ -1142,7 +1142,7 @@ raycast_all_shapes(const PhysxRay &ray,
}
_ptr->raycastAllShapes(ray._ray, report, (NxShapesType)shapesType,
mask.get_mask(), ray._length, hints);
mask.get_mask(), ray._length, hints, groupsPtr);
return report;
}
@ -1193,7 +1193,7 @@ raycast_closest_bounds(const PhysxRay &ray, PhysxShapesType shapesType, PhysxMas
}
_ptr->raycastClosestBounds(ray._ray, (NxShapesType)shapesType, hit,
mask.get_mask(), ray._length, hints);
mask.get_mask(), ray._length, hints, groupsPtr);
return PhysxRaycastHit(hit);
@ -1228,7 +1228,7 @@ raycast_all_bounds(const PhysxRay &ray,
}
_ptr->raycastAllBounds(ray._ray, report, (NxShapesType)shapesType,
mask.get_mask(), ray._length, hints);
mask.get_mask(), ray._length, hints, groupsPtr);
return report;
}