StaticTriangleGroup without model and device
Posted: Mon Aug 17, 2009 11:31 pm
Hi Norbo,
is there any way to load a StaticTriangleGroup without a xna model?
The situation is that i'm actually writing a deticated server for our game. In this case we have some items the player have to collect. These items falls from sky to the playground (StaticTriangleGroup). At the moment they fall through the ground (client view). Just normal because i cant load the StaticTriangleGroup because i need a graphics device for loading the model. On the server isn't as normal a graphics device. Do you know a way how i can make this possible?May a method i don't find where i can give BEPU the vertices and indices for my self?Maybe the method used until v0.8 of BEPU with the VerticesExtractionPipeline (with the TagData). But i can't compile the old code because StaticTriangleGroupVertex doesn't exist anymore. Furthermore i can't believe that this can work because it was just a custom content processor. So the code behind should also need a graphics device.
So finally, do you have a idea?
thanks and regards,
j2t
is there any way to load a StaticTriangleGroup without a xna model?
The situation is that i'm actually writing a deticated server for our game. In this case we have some items the player have to collect. These items falls from sky to the playground (StaticTriangleGroup). At the moment they fall through the ground (client view). Just normal because i cant load the StaticTriangleGroup because i need a graphics device for loading the model. On the server isn't as normal a graphics device. Do you know a way how i can make this possible?May a method i don't find where i can give BEPU the vertices and indices for my self?Maybe the method used until v0.8 of BEPU with the VerticesExtractionPipeline (with the TagData). But i can't compile the old code because StaticTriangleGroupVertex doesn't exist anymore. Furthermore i can't believe that this can work because it was just a custom content processor. So the code behind should also need a graphics device.
So finally, do you have a idea?
thanks and regards,
j2t