Got the terrain code working again. I had a few things wrong with it. I quit using the osg bullet code to create the terrain and instead just created it straight in bullet. I also was not setting up the positioning of the terrain correctly anymore, and I was not cleaning up the memory allocated for the terrain.