You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the raycast functionality quite a lot for a game that I'm developing. On most shapes the raycast works perfect, including sphere shapes, but for one shape with disabled the simulation the raycast works partially. Here is the code for the raycast :
I am using the raycast functionality quite a lot for a game that I'm developing. On most shapes the raycast works perfect, including sphere shapes, but for one shape with disabled the simulation the raycast works partially. Here is the code for the raycast :
`
physx::PxRigidDynamic* PhysxManager::RayCast(physx::PxVec3 origin, physx::PxVec3 unitDir, physx::PxReal maxDistance,
physx::PxVec3& hitPosition)
{
PxRaycastBuffer hit; // [out] Raycast results
`
What am I doing wrong, or is there a bug?
The text was updated successfully, but these errors were encountered: