ParticleBodyContact class

Constructors

ParticleBodyContact(Particle particle, Body body)

Properties

body Body
The body making contact.
final
hashCode int
The hash code for this object.
no setterinherited
mass double
The effective mass used in calculating force.
getter/setter pair
normal Vector2
The normalized direction from the particle to the body.
final
particle Particle
Index of the particle making contact.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight double
Weight of the contact. A value between 0.0f and 1.0f.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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