BEPUphysics Integration
Posted: Fri Jun 27, 2014 3:57 pm
I guess this is less a specific question about BEPUphysics and more a general question about integrating two independent systems.
Right now I have a renderer that I'm pretty happy with. Like BEPUphysics it has its own Space data structure which contains RenderableEntities that can be drawn. My question is this: what is the best way to integrate the BEPUphysics Space with my Renderer Space? It seems like it could get bizarre quite quickly having two different types of entity in two different spaces that are only contingently connected, but I don't know how I could relate the two spaces in a more rigid way without either modifying the source code of BEPUphysics or my renderer.
How should this be handled?
Right now I have a renderer that I'm pretty happy with. Like BEPUphysics it has its own Space data structure which contains RenderableEntities that can be drawn. My question is this: what is the best way to integrate the BEPUphysics Space with my Renderer Space? It seems like it could get bizarre quite quickly having two different types of entity in two different spaces that are only contingently connected, but I don't know how I could relate the two spaces in a more rigid way without either modifying the source code of BEPUphysics or my renderer.
How should this be handled?