public class ManifoldPoint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
ContactID |
id
uniquely identifies a contact point between two shapes
|
Vec2 |
localPoint
usage depends on manifold type
|
float |
normalImpulse
the non-penetration impulse
|
float |
tangentImpulse
the friction impulse
|
| Constructor and Description |
|---|
ManifoldPoint()
Blank manifold point with everything zeroed out.
|
ManifoldPoint(ManifoldPoint cp)
Creates a manifold point as a copy of the given point
|
| Modifier and Type | Method and Description |
|---|---|
void |
set(ManifoldPoint cp)
Sets this manifold point form the given one
|
public final Vec2 localPoint
public float normalImpulse
public float tangentImpulse
public final ContactID id
public ManifoldPoint()
public ManifoldPoint(ManifoldPoint cp)
cp - point to copy frompublic void set(ManifoldPoint cp)
cp - the point to copy fromCopyright © 2017. All Rights Reserved.