ContactManifold class
A contact manifold between two shapes.
Constructors
Properties
- body1 ↔ RigidBody?
-
The first rigid body.
getter/setter pair
- body2 ↔ RigidBody?
-
The second rigid body.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- numPoints ↔ int
-
The number of manifold points.
getter/setter pair
-
points
↔ List<
ManifoldPoint> -
The manifold points.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPoint(
double x, double y, double z, double nx, double ny, double nz, double penetration, bool flip) → void - Add a point into this manifold.
-
addPointVec(
Vec3 pos, [Vec3? norm, double penetration = 0, bool flip = false]) → void - Add a point into this manifold.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
Shape shape1, Shape shape2) → void - Reset the manifold.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited