C# (CSharp) FarseerPhysics.Testbed.Tests Namespace

Classes

Name Description
AddPairTest
AngleJointTest
ApplyForceTest
BodyTypesTest
BreakableTest
BridgeTest
BulletTest
BuoyancyTest
CantileverTest
CarTest
ChainTest
CharacterCollisionTest
CheckPolygonTest
CircleBenchmarkTest
CirclePenetrationTest
CloneTest
CollisionFilteringTest This is a test of collision filtering. There is a triangle, a box, and a circle. There are 7 shapes. 4 large and 3 small. The 3 small ones always collide. The 4 large ones never collide. The boxes don't collide with triangles (except if both are small).
CollisionProcessingTest
CompoundShapesTest
ConfinedTest
ContinuousTest
ConvexHullTest
ConvexHullTest2
ConveyorBeltTest
CuttingTest
DeletionTest
DestructibleTerrainTest
DistanceTest
DominosTest
DynamicTreeTest
DynamicTreeTest.Actor
EdgeShapeBenchmarkTest
EdgeShapesTest
EdgeTest
ExplosionTest
GearsTest
GravityControllerTest
LockTest
MobileBalancedTest
MobileTest
MotorJointTest
OneSidedPlatformTest
PathTest
PinballTest This tests bullet collision and provides an example of a gameplay scenario.
PolyCollisionTest
PolyShapesCallback This tests stacking. It also shows how to use World.Query() and AABB.TestOverlap(). This callback is called by World.QueryAABB(). We find all the fixtures that overlap an AABB. Of those, we use AABB.TestOverlap() to determine which fixtures overlap a circle. Up to 4 overlapped fixtures will be highlighted with a yellow border.
PolyShapesTest
PrismaticTest
PulleysTest
PyramidTest
RayCastTest
RevoluteTest
RopeTest This test shows how a rope joint can be used to stabilize a chain of bodies with a heavy payload. Notice that the rope joint just prevents excessive stretching and has no other effect. By disabling the rope joint you can see that the Box2D solver has trouble supporting heavy bodies with light bodies. Try playing around with the densities, time step, and iterations to see how they affect stability. This test also shows how to use contact filtering. Filtering is configured so that the payload does not collide with the chain.
RoundedRectangle
SensorTest
SerializationTest
ShapeEditingTest
SimpleWindForceTest
SimplificationTest
SliderCrankTest A motor driven slider crank with joint friction.
SphereStackTest
TestEntries
TextureVerticesTest
TheoJansenTest
TilesTest This stress tests the dynamic tree broad-phase. This also shows that tile based collision is _not_ smooth due to Box2D not knowing about adjacency.
TimeOfImpactTest
TriangulationTest
TumblerTest
VaryingFrictionTest
VaryingRestitutionTest
VerticalStackTest
WebTest This tests distance joints, body destruction, and joint destruction.
YuPengPolygonTest