C# Class FarseerPhysics.Collision.WorldManifold

This is used to compute the current state of a contact manifold.
显示文件 Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
Normal Vector2
Points FixedArray2

Public Methods

Method Description
WorldManifold ( Manifold &manifold, Transform &transformA, float radiusA, Transform &transformB, float radiusB ) : System

Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the Shapes that generated the manifold.

Method Details

WorldManifold() public method

Evaluate the manifold with supplied transforms. This assumes modest motion from the original state. This does not change the point count, impulses, etc. The radii must come from the Shapes that generated the manifold.
public WorldManifold ( Manifold &manifold, Transform &transformA, float radiusA, Transform &transformB, float radiusB ) : System
manifold Manifold The manifold.
transformA Transform The transform for A.
radiusA float The radius for A.
transformB Transform The transform for B.
radiusB float The radius for B.
return System

Property Details

Normal public_oe property

world vector pointing from A to B
public Vector2 Normal
return Vector2

Points public_oe property

world contact point (point of intersection)
public FixedArray2 Points
return FixedArray2