mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Fixed bug with raycasts and 128-bit groups masks.
This commit is contained in:
parent
69738d7975
commit
5430833ef4
@ -1108,7 +1108,7 @@ raycast_closest_shape(const PhysxRay &ray,
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ptr->raycastClosestShape(ray._ray, (NxShapesType)shapesType, hit,
|
_ptr->raycastClosestShape(ray._ray, (NxShapesType)shapesType, hit,
|
||||||
mask.get_mask(), ray._length, hints);
|
mask.get_mask(), ray._length, hints, groupsPtr);
|
||||||
|
|
||||||
|
|
||||||
return PhysxRaycastHit(hit);
|
return PhysxRaycastHit(hit);
|
||||||
@ -1142,7 +1142,7 @@ raycast_all_shapes(const PhysxRay &ray,
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ptr->raycastAllShapes(ray._ray, report, (NxShapesType)shapesType,
|
_ptr->raycastAllShapes(ray._ray, report, (NxShapesType)shapesType,
|
||||||
mask.get_mask(), ray._length, hints);
|
mask.get_mask(), ray._length, hints, groupsPtr);
|
||||||
|
|
||||||
return report;
|
return report;
|
||||||
}
|
}
|
||||||
@ -1193,7 +1193,7 @@ raycast_closest_bounds(const PhysxRay &ray, PhysxShapesType shapesType, PhysxMas
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ptr->raycastClosestBounds(ray._ray, (NxShapesType)shapesType, hit,
|
_ptr->raycastClosestBounds(ray._ray, (NxShapesType)shapesType, hit,
|
||||||
mask.get_mask(), ray._length, hints);
|
mask.get_mask(), ray._length, hints, groupsPtr);
|
||||||
|
|
||||||
|
|
||||||
return PhysxRaycastHit(hit);
|
return PhysxRaycastHit(hit);
|
||||||
@ -1228,7 +1228,7 @@ raycast_all_bounds(const PhysxRay &ray,
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ptr->raycastAllBounds(ray._ray, report, (NxShapesType)shapesType,
|
_ptr->raycastAllBounds(ray._ray, report, (NxShapesType)shapesType,
|
||||||
mask.get_mask(), ray._length, hints);
|
mask.get_mask(), ray._length, hints, groupsPtr);
|
||||||
|
|
||||||
return report;
|
return report;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user