C# Class FarseerPhysics.Collision.WorldManifold

This is used to compute the current state of a contact manifold.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
Normal Vector2
Points FixedArray2

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

Property Details

Normal public_oe property

world vector pointing from A to B
public Vector2 Normal
Résultat Vector2

Points public_oe property

world contact point (point of intersection)
public FixedArray2 Points
Résultat FixedArray2