From 5430833ef470a4e5e81e468826229b291fb98f3c Mon Sep 17 00:00:00 2001 From: enn0x Date: Thu, 4 Aug 2011 21:54:16 +0000 Subject: [PATCH] Fixed bug with raycasts and 128-bit groups masks. --- panda/src/physx/physxScene.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panda/src/physx/physxScene.cxx b/panda/src/physx/physxScene.cxx index 6b19844a56..a8c4a22b20 100644 --- a/panda/src/physx/physxScene.cxx +++ b/panda/src/physx/physxScene.cxx @@ -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; }