I'm currently using your engine and it works out really nice, except for one aspect. I have a sidescroller with a car going from left to right over a landscape. At a distance of about 30000 the collision accuracy with the terrain deteriorates, leading to
the car sinking into the ground, balancing on the front and so on. Here are the parameters:
Farseer physics 2.1.3
Collider: SAT (worked out best)
Car: Modelled as a simple shape made out of vertices
Terrain: Also a single shape made out of vertices with small hills
I looked up the source code and searched for a section in the collision detection code where relative values where used, which would explain that behaviour at large distances. Unfortunately I didn't find any.
I have thought of two possibilites:
a) Wind the landscape in a large circle around 0,0 and adapt the gravity according to the point where the car is located (tremendous effort)
b) Scale, but this is now solution as in endless game these distances can still be reached
Can you think of another possibility or even the reason for this behaviour? Thanks in advance!