Click or drag to resize

Contact Class

The class manages contact between two shapes. A contact exists for each overlapping AABB in the broad-phase (except if filtered). Therefore a contact object may exist that has no contact points.
Inheritance Hierarchy

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics.Contacts
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class Contact

The Contact type exposes the following members.

Constructors
  NameDescription
Protected methodContact
Initializes a new instance of the Contact class
Top
Properties
  NameDescription
Public propertyChildIndexA
Get the child primitive index for fixture A.
Public propertyChildIndexB
Get the child primitive index for fixture B.
Public propertyEnabled
Public propertyFixtureA
Public propertyFixtureB
Public propertyFriction
Public propertyIsTouching
Determines whether this contact is touching.
Public propertyNext
Get the next contact in the world's contact list.
Public propertyPrev
Get the previous contact in the world's contact list.
Public propertyRestitution
Public propertyTangentSpeed
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWorldManifold
Gets the world manifold.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResetFriction
Public methodResetRestitution
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldManifold
Get the contact manifold. Do not modify the manifold unless you understand the internals of Box2D.
Top
Extension Methods
See Also