Hello everybody!
I am working on a team building a game and we recently switched from a ‘homebrew’ physic simulation to physx. We are currently developing for Windows using VS2010 and physx 3.3.1 .
I spent a few days now converting all the physic simulation stuff to physx and i am now stuck on a problem i can not find a solution or if there is a solution to this at all.
What i need is this: In the game certain areas are defined as special partitions in space. Particles are not affected by this areas but i need to know IF a particle is inside this area. If a particle is inside this area, other bodies can rest on top of it. So i need to know if a body collides with a particle that is inside a special area.
I could do it brute force and check every particle on every step, but this would mean a huge performance hit.
So is there a way to check for a specified particle system if any particles are inside a predefined area?
I hope its somehow clear what i am looking for :)
Thanks to everyone in advance!