ContactConstraint class

A constraint used on contacts

Inheritance

Constructors

ContactConstraint(ContactManifold manifold)
A constraint used on contacts

Properties

addedToIsland bool
Internal
getter/setter pairinherited
av1 Vec3?
getter/setter pair
av2 Vec3?
getter/setter pair
body1 RigidBody?
first body of the constraint.
getter/setter pairinherited
body2 RigidBody?
second body of the constraint.
getter/setter pairinherited
cs ContactPointDataBuffer
getter/setter pair
friction double?
The coefficient of friction of the constraint.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
i1 Mat33?
getter/setter pair
i2 Mat33?
getter/setter pair
lv1 Vec3?
getter/setter pair
lv2 Vec3?
getter/setter pair
m1 double?
getter/setter pair
m2 double?
getter/setter pair
manifold ContactManifold
The contact manifold of the constraint.
getter/setter pair
num double
getter/setter pair
p1 Vec3?
getter/setter pair
p2 Vec3?
getter/setter pair
parent World?
parent world of the constraint.
getter/setter pairinherited
ps List<ManifoldPoint>
getter/setter pair
restitution double?
The coefficient of restitution of the constraint.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tmp Vec3
getter/setter pair
tmpav1 Vec3
getter/setter pair
tmpav2 Vec3
getter/setter pair
tmpC1 Vec3
getter/setter pair
tmpC2 Vec3
getter/setter pair
tmplv1 Vec3
getter/setter pair
tmplv2 Vec3
getter/setter pair
tmpP1 Vec3
getter/setter pair
tmpP2 Vec3
getter/setter pair

Methods

attach() → void
Attach the constraint to the bodies.
awake() → void
wake the body
inherited
detach() → void
Detach the constraint from the bodies.
dispose() → void
Dispose of the body
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postSolve() → void
Do the post-processing.
override
preSolve(double timeStep, double invTimeStep) → void
Prepare for solving the constraint
override
remove() → void
Remove the body
inherited
setParent(World world) → void
Set the parent of the body
inherited
sleep() → void
Run the sleep function
inherited
solve() → void
Solve the constraint. This is usually called iteratively.
override
toString() String
A string representation of this object.
inherited

Operators

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