public interface CollidableDynamicComponent extends DynamicComponent
ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilityTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATING| Modifier and Type | Method and Description |
|---|---|
void |
addToPointVelocity(Vector3d vel,
double w,
ContactPoint cpnt)
Computes the velocity imparted to a contact point by this component's
current velocity, multiples it by a weighting factor
w,
and add it to vel. |
void |
setContactConstraint(double[] buf,
double w,
Vector3d dir,
ContactPoint cpnt)
Computes the values for the block matrix which defines this component's
contribution to a contact constraint matrix.
|
addAttachmentRequest, removeAttachmentRequestaddConstrainer, addForce, addMasterAttachment, addPosImpulse, addSolveBlock, applyExternalForces, applyGravity, createMassBlock, getAttachment, getConstrainers, getEffectiveMass, getEffectiveMass, getEffectiveMassForces, getForce, getInverseMass, getMass, getMass, getMasterAttachments, getPosDerivative, getPosState, getPosStateSize, getSolveIndex, getState, getVelState, getVelStateSize, hasForce, isActive, isAttached, isControllable, isDynamic, isMassConstant, isParametric, mulInverseEffectiveMass, removeConstrainer, removeMasterAttachment, resetEffectiveMass, setAttached, setForce, setPosState, setRandomForce, setRandomPosState, setRandomVelState, setSolveIndex, setState, setVelState, velocityLimitExceeded, zeroExternalForces, zeroForcesadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarStateconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeaddPosJacobian, addSolveBlocks, addVelJacobian, applyForces, getJacobianTypeaddTransformableDependencies, transformGeometry, transformGeometry, transformPriorityvoid setContactConstraint(double[] buf,
double w,
Vector3d dir,
ContactPoint cpnt)
n is the component's velocity state size, and the contact is
defined by a direction dir and a point cpnt.
The computed values should be scaled by a weighting factor
w.buf - returns the n values for the block matrixw - weighting factor by which the values should be scaleddir - contact direction (world coordinates)cpnt - contact pointvoid addToPointVelocity(Vector3d vel, double w, ContactPoint cpnt)
w,
and add it to vel.vel - accumulates contact point velocity (world coordinates)w - weighting factorcpnt - contact point