@NoOffset @Properties(inherit=BulletDynamics.class) public class btMultiBodyJointMotor extends btMultiBodyConstraint
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btMultiBodyJointMotor(btMultiBody body,
int link,
double desiredVelocity,
double maxMotorImpulse) |
btMultiBodyJointMotor(btMultiBody body,
int link,
int linkDoF,
double desiredVelocity,
double maxMotorImpulse) |
btMultiBodyJointMotor(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createConstraintRows(btMultiBodySolverConstraintArray constraintRows,
btMultiBodyJacobianData data,
btContactSolverInfo infoGlobal) |
void |
debugDraw(btIDebugDraw drawer) |
void |
finalizeMultiDof() |
double |
getErp() |
int |
getIslandIdA() |
int |
getIslandIdB() |
void |
setErp(double erp) |
void |
setPositionTarget(double posTarget) |
void |
setPositionTarget(double posTarget,
double kp) |
void |
setRhsClamp(double rhsClamp) |
void |
setVelocityTarget(double velTarget) |
void |
setVelocityTarget(double velTarget,
double kd) |
allocateJacobiansMultiDof, getAppliedImpulse, getConstraintType, getLinkA, getLinkB, getMaxAppliedImpulse, getMultiBodyA, getMultiBodyB, getNumRows, getPosition, internalSetAppliedImpulse, isUnilateral, jacobianA, jacobianB, setFrameInB, setGearAuxLink, setGearRatio, setMaxAppliedImpulse, setPivotInB, setPosition, setRelativePositionTarget, updateJacobianSizesaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btMultiBodyJointMotor(Pointer p)
Pointer(Pointer).public btMultiBodyJointMotor(btMultiBody body, int link, @Cast(value="btScalar") double desiredVelocity, @Cast(value="btScalar") double maxMotorImpulse)
public btMultiBodyJointMotor(btMultiBody body, int link, int linkDoF, @Cast(value="btScalar") double desiredVelocity, @Cast(value="btScalar") double maxMotorImpulse)
public void finalizeMultiDof()
finalizeMultiDof in class btMultiBodyConstraintpublic int getIslandIdA()
getIslandIdA in class btMultiBodyConstraintpublic int getIslandIdB()
getIslandIdB in class btMultiBodyConstraintpublic void createConstraintRows(@ByRef btMultiBodySolverConstraintArray constraintRows, @ByRef btMultiBodyJacobianData data, @Const @ByRef btContactSolverInfo infoGlobal)
createConstraintRows in class btMultiBodyConstraintpublic void setVelocityTarget(@Cast(value="btScalar") double velTarget, @Cast(value="btScalar") double kd)
public void setPositionTarget(@Cast(value="btScalar") double posTarget, @Cast(value="btScalar") double kp)
public void setErp(@Cast(value="btScalar") double erp)
setErp in class btMultiBodyConstraintpublic void debugDraw(btIDebugDraw drawer)
debugDraw in class btMultiBodyConstraintCopyright © 2024. All rights reserved.