PolygonAndCircleContact class

Inheritance

Constructors

PolygonAndCircleContact(Fixture fixtureA, Fixture fixtureB)

Properties

bodyA Body
no setterinherited
bodyB Body
no setterinherited
fixtureA Fixture
finalinherited
fixtureB Fixture
finalinherited
flags int
getter/setter pairinherited
friction double
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indexA int
finalinherited
indexB int
finalinherited
isEnabled bool
Whether this contact is enabled.
getter/setter pairinherited
manifold Manifold
finalinherited
positionConstraint ContactPositionConstraint
finalinherited
restitution double
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tangentSpeed double
getter/setter pairinherited
toi double
getter/setter pairinherited
toiCount int
getter/setter pairinherited
velocityConstraint ContactVelocityConstraint
finalinherited

Methods

containsBody(Body body) bool
Whether the body is connected to the joint
inherited
evaluate(Manifold manifold, Transform xfA, Transform xfB) → void
override
flagForFiltering() → void
Flag this contact for filtering. Filtering will occur the next time step.
inherited
getOtherBody(Body body) Body
Get the other body than the argument in the contact
inherited
getWorldManifold(WorldManifold worldManifold) → void
Get the world manifold.
inherited
isTouching() bool
Is this contact touching
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
representsArguments(Fixture fixtureA, int indexA, Fixture fixtureB, int indexB) bool
inherited
resetFriction() → void
inherited
resetRestitution() → void
inherited
toString() String
A string representation of this object.
inherited
update(ContactListener? listener) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited