Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMedo3337

Posted 26 November 2012 - 02:44 AM

Hi Steve,

The other question about Pathfinding was completely different (I was trying to implement Pathfinding which has nothing to do with using raycasting while excluding certain models (like they don't exist).

I believe that the above code is not exactly what I'm looking for, here is the prototype of the method that I'm looking for:

void Raycast(btVector3 rayOrigin, btVector3 rayDir, vector<DWORD> excludeModelsIDs);

body->getUserPointer() will point to a number, the number will represent the ID of the model, so excludeModelsIDs should include list of models ID that I want to exclude (at this point ray casting will act like they don't exists).

#1Medo3337

Posted 26 November 2012 - 02:43 AM

Hi Steve_Segreto,

The other question about Pathfinding was completely different (I was trying to implement Pathfinding which has nothing to do with using raycasting while excluding certain models (like they don't exists).

I believe that the above code is not exactly what I'm looking for, here is the prototype of the method that I'm looking for:

void Raycast(btVector3 rayOrigin, btVector3 rayDir, vector<DWORD> excludeModelsIDs);

body->getUserPointer() will point to a number, the number will represent the ID of the model, so excludeModelsIDs should include list of models ID that I want to exclude (at this point ray casting will act like they don't exists).

PARTNERS