C# (CSharp) Project290.Physics.Collision.Shapes Namespace

Classes

Name Description
CircleShape
EdgeShape A line segment (edge) Shape. These can be connected in chains or loops to other edge Shapes. The connectivity information is used to ensure correct contact normals.
LoopShape A loop Shape is a free form sequence of line segments that form a circular list. The loop may cross upon itself, but this is not recommended for smooth collision. The loop has double sided collision, so you can use inside and outside collision. Therefore, you may use any winding order.
MassData This holds the mass data computed for a shape.
PolygonShape Represents a simple non-selfintersecting convex polygon. If you want to have concave polygons, you will have to use the BayazitDecomposer or the EarclipDecomposer to decompose the concave polygon into 2 or more convex polygons.
Shape A shape is used for collision detection. You can create a shape however you like. Shapes used for simulation in World are created automatically when a Fixture is created. Shapes may encapsulate a one or more child shapes.