I have bepuphysics up and running in a game I have going outside of terrain, I can't seem to get it to work. I have the spacing set right, and it's using the same heights as what's drawing the terrain is using, so my last guess is that its the terrain initialization parameters,
Code: Select all
Terrain terrain = new Terrain(.5f, 0, Vector3.Zero, .02f, .01f, .5f, 0, 50);
Time Interval - .5f
Max Age - 0
Position - 0,0,0
Terrain Margin -0.02f
Allowed Penetration - 0.01f
Coefficient Of Friction - 0.5f
Coefficient Of Restitution - 0
Maximum Rescue Depth - 50
okay, so I'm fine with all of those except these few:
Time Interval - I'm guessing this is how often it's updated?
Max Age - ??
Terrain Margin - What is this?
Can anybody tell me what those are and how they effect the terrain?
thanks ahead of time,
-Chris