public class JacobianEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
float |
Adiag |
Vector3f |
aJ |
Vector3f |
bJ |
Vector3f |
linearJointAxis |
Vector3f |
m_0MinvJt |
Vector3f |
m_1MinvJt |
| Constructor and Description |
|---|
JacobianEntry() |
| Modifier and Type | Method and Description |
|---|---|
float |
getDiagonal() |
float |
getNonDiagonal(JacobianEntry jacB,
float massInvA)
For two constraints on the same rigidbody (for example vehicle friction).
|
float |
getNonDiagonal(JacobianEntry jacB,
float massInvA,
float massInvB)
For two constraints on sharing two same rigidbodies (for example two contact points between two rigidbodies).
|
float |
getRelativeVelocity(Vector3f linvelA,
Vector3f angvelA,
Vector3f linvelB,
Vector3f angvelB) |
void |
init(Matrix3f world2A,
Matrix3f world2B,
Vector3f rel_pos1,
Vector3f rel_pos2,
Vector3f jointAxis,
Vector3f inertiaInvA,
float massInvA,
Vector3f inertiaInvB,
float massInvB)
Constraint between two different rigidbodies.
|
void |
init(Matrix3f world2A,
Vector3f rel_pos1,
Vector3f rel_pos2,
Vector3f jointAxis,
Vector3f inertiaInvA,
float massInvA)
Constraint on one rigidbody.
|
void |
init(Vector3f jointAxis,
Matrix3f world2A,
Matrix3f world2B,
Vector3f inertiaInvA,
Vector3f inertiaInvB)
Angular constraint between two different rigidbodies.
|
void |
init(Vector3f axisInA,
Vector3f axisInB,
Vector3f inertiaInvA,
Vector3f inertiaInvB)
Angular constraint between two different rigidbodies.
|
public final Vector3f linearJointAxis
public final Vector3f aJ
public final Vector3f bJ
public final Vector3f m_0MinvJt
public final Vector3f m_1MinvJt
public float Adiag
public void init(Matrix3f world2A, Matrix3f world2B, Vector3f rel_pos1, Vector3f rel_pos2, Vector3f jointAxis, Vector3f inertiaInvA, float massInvA, Vector3f inertiaInvB, float massInvB)
public void init(Vector3f jointAxis, Matrix3f world2A, Matrix3f world2B, Vector3f inertiaInvA, Vector3f inertiaInvB)
public void init(Vector3f axisInA, Vector3f axisInB, Vector3f inertiaInvA, Vector3f inertiaInvB)
public void init(Matrix3f world2A, Vector3f rel_pos1, Vector3f rel_pos2, Vector3f jointAxis, Vector3f inertiaInvA, float massInvA)
public float getDiagonal()
public float getNonDiagonal(JacobianEntry jacB, float massInvA)
public float getNonDiagonal(JacobianEntry jacB, float massInvA, float massInvB)