public class SoftLinearJoint extends SoftPhysicsJoint
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
logger3
message logger for this class
|
logger2loggerloggerN| Constructor and Description |
|---|
SoftLinearJoint(Vector3f location,
PhysicsSoftBody softA,
int clusterIndexA,
PhysicsRigidBody rigidB)
Instantiate a soft-rigid linear joint.
|
SoftLinearJoint(Vector3f location,
PhysicsSoftBody softA,
int clusterIndexA,
PhysicsSoftBody softB,
int clusterIndexB)
Instantiate a soft-soft linear joint.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3f |
copyLocation(Vector3f storeResult)
Copy the joint location.
|
void |
setLocation(Vector3f newLocation)
Alter the joint location.
|
checkParameters, clusterIndexA, clusterIndexB, finalizeNative, getCFM, getERP, getSoftBodyA, getSoftBodyB, getSplit, isEnabled, isSoftRigid, isSoftSoft, setCFM, setERP, setSplitcountEnds, destroy, findEnd, findOtherBody, getBody, getBodyA, getBodyB, getPhysicsSpace, setBodyA, setBodyB, setNativeId, setPhysicsSpace, toStringcompareTo, countTrackers, dumpTrackers, equals, freeUnusedObjects, hasAssignedNativeObject, hashCode, nativeId, reassignNativeId, setNativeIdNotTracked, unassignNativeObjectpublic static final java.util.logging.Logger logger3
public SoftLinearJoint(Vector3f location, PhysicsSoftBody softA, int clusterIndexA, PhysicsRigidBody rigidB)
location - the location of the joint (in physics-space coordinates,
not null, unaffected)softA - the soft body for the A end (not null, alias created)clusterIndexA - the index of the cluster for the A end (≥0)rigidB - the rigid body for the B end (not null, alias created)public SoftLinearJoint(Vector3f location, PhysicsSoftBody softA, int clusterIndexA, PhysicsSoftBody softB, int clusterIndexB)
location - the location of the joint (in physics-space coordinates,
not null, unaffected)softA - the soft body for the A end (not null, alias created)clusterIndexA - the index of the cluster for the A end (≥0)softB - the soft body for the B end (not null, alias created)clusterIndexB - the index of the cluster for the B end (≥0)public Vector3f copyLocation(Vector3f storeResult)
storeResult - storage for the result (modified if not null)public void setLocation(Vector3f newLocation)
newLocation - the desired location (in physics-space coordinates,
not null, unaffected)