I want to have about 500 vehicles (tanks, 4W cars) run on a 100x100 km heightmap with a grid resolution of 0.7m (we use only the part of the map from disk that is needed).
Here is my plan how to do it.
-Every vehicle drives on its own PxHeightFieldGeometry, which represents a 50x50 meter part of the heightmap.
-The heightfield geometry is adapted if the vehicle reaches the border of the 50x50m map.
-If there is no chance that vehicles can collide, they are run in their own local mapgrid and and their own PxScene
-So basically I create something like 500 times the scene in the sample application
Now this sounds like a good approach to me. Does anyone have any suggestions?
-Is there a way to get rid of the heightfield? I just want to tell the vehicle simulation the map height by using our own height map - this should give the simulation enough data to simulate the driving without the collision stuff and this would be enough for the simulation most of the time.
-Is there a better way than to create 500 scenes? I think this is better than to put everything in one scene.