• TerrainPhysicsComponent (Components\PhysicsComponents\TerrainPhysicsComponent.cs) 
    • This component requires a component definition to load, technically you could load this dynamically if you really wanted by creating a component definition and then manually loading the component, however, there is little need to load terrain on the fly. Should that need arise you'll probably be smart enough to figure out how to create a component definition by looking at the definition XML for the sample terrain.
    • Basically this class just takes the component definition parameters, initializes heightfield physics, and adds them to the world.
    • Note: For now the component definition for this class is empty, there is nothing you need to specify, but you do still need to provide the file.

Last edited Jan 5, 2012 at 5:39 AM by LordIkon, version 1


No comments yet.