@NoOffset @Properties(inherit=BulletDynamics.class) public class btSliderConstraint extends btTypedConstraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btSliderConstraint(btRigidBody rbA,
btRigidBody rbB,
btTransform frameInA,
btTransform frameInB,
boolean useLinearReferenceFrameA) |
btSliderConstraint(btRigidBody rbB,
btTransform frameInB,
boolean useLinearReferenceFrameA) |
btSliderConstraint(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateSerializeBufferSize() |
void |
calculateTransforms(btTransform transA,
btTransform transB) |
btVector3 |
getAncorInA() |
btVector3 |
getAncorInB() |
double |
getAngDepth() |
double |
getAngularPos() |
btTransform |
getCalculatedTransformA() |
btTransform |
getCalculatedTransformB() |
double |
getDampingDirAng() |
double |
getDampingDirLin() |
double |
getDampingLimAng() |
double |
getDampingLimLin() |
double |
getDampingOrthoAng() |
double |
getDampingOrthoLin() |
int |
getFlags() |
btTransform |
getFrameOffsetA() |
btTransform |
getFrameOffsetB() |
void |
getInfo1(btTypedConstraint.btConstraintInfo1 info)
internal method used by the constraint solver, don't use them directly
|
void |
getInfo1NonVirtual(btTypedConstraint.btConstraintInfo1 info) |
void |
getInfo2(btTypedConstraint.btConstraintInfo2 info)
internal method used by the constraint solver, don't use them directly
|
void |
getInfo2NonVirtual(btTypedConstraint.btConstraintInfo2 info,
btTransform transA,
btTransform transB,
btVector3 linVelA,
btVector3 linVelB,
double rbAinvMass,
double rbBinvMass) |
double |
getLinDepth() |
double |
getLinearPos() |
double |
getLowerAngLimit() |
double |
getLowerLinLimit() |
double |
getMaxAngMotorForce() |
double |
getMaxLinMotorForce() |
double |
getParam(int num) |
double |
getParam(int num,
int axis)
return the local value of parameter
|
boolean |
getPoweredAngMotor() |
boolean |
getPoweredLinMotor() |
double |
getRestitutionDirAng() |
double |
getRestitutionDirLin() |
double |
getRestitutionLimAng() |
double |
getRestitutionLimLin() |
double |
getRestitutionOrthoAng() |
double |
getRestitutionOrthoLin() |
btRigidBody |
getRigidBodyA() |
btRigidBody |
getRigidBodyB() |
double |
getSoftnessDirAng() |
double |
getSoftnessDirLin() |
double |
getSoftnessLimAng() |
double |
getSoftnessLimLin() |
double |
getSoftnessOrthoAng() |
double |
getSoftnessOrthoLin() |
boolean |
getSolveAngLimit() |
boolean |
getSolveLinLimit() |
double |
getTargetAngMotorVelocity() |
double |
getTargetLinMotorVelocity() |
double |
getUpperAngLimit() |
double |
getUpperLinLimit() |
boolean |
getUseFrameOffset() |
boolean |
getUseLinearReferenceFrameA() |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setDampingDirAng(double dampingDirAng) |
void |
setDampingDirLin(double dampingDirLin) |
void |
setDampingLimAng(double dampingLimAng) |
void |
setDampingLimLin(double dampingLimLin) |
void |
setDampingOrthoAng(double dampingOrthoAng) |
void |
setDampingOrthoLin(double dampingOrthoLin) |
void |
setFrames(btTransform frameA,
btTransform frameB) |
void |
setLowerAngLimit(double lowerLimit) |
void |
setLowerLinLimit(double lowerLimit) |
void |
setMaxAngMotorForce(double maxAngMotorForce) |
void |
setMaxLinMotorForce(double maxLinMotorForce) |
void |
setParam(int num,
double value) |
void |
setParam(int num,
double value,
int axis)
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5).
|
void |
setPoweredAngMotor(boolean onOff) |
void |
setPoweredLinMotor(boolean onOff) |
void |
setRestitutionDirAng(double restitutionDirAng) |
void |
setRestitutionDirLin(double restitutionDirLin) |
void |
setRestitutionLimAng(double restitutionLimAng) |
void |
setRestitutionLimLin(double restitutionLimLin) |
void |
setRestitutionOrthoAng(double restitutionOrthoAng) |
void |
setRestitutionOrthoLin(double restitutionOrthoLin) |
void |
setSoftnessDirAng(double softnessDirAng) |
void |
setSoftnessDirLin(double softnessDirLin) |
void |
setSoftnessLimAng(double softnessLimAng) |
void |
setSoftnessLimLin(double softnessLimLin) |
void |
setSoftnessOrthoAng(double softnessOrthoAng) |
void |
setSoftnessOrthoLin(double softnessOrthoLin) |
void |
setTargetAngMotorVelocity(double targetAngMotorVelocity) |
void |
setTargetLinMotorVelocity(double targetLinMotorVelocity) |
void |
setUpperAngLimit(double upperLimit) |
void |
setUpperLinLimit(double upperLimit) |
void |
setUseFrameOffset(boolean frameOffsetOnOff) |
void |
testAngLimits() |
void |
testLinLimits() |
buildJacobian, enableFeedback, getAppliedImpulse, getBreakingImpulseThreshold, getConstraintType, getDbgDrawSize, getFixedBody, getJointFeedback, getOverrideNumSolverIterations, getUid, getUserConstraintId, getUserConstraintPtr, getUserConstraintType, internalGetAppliedImpulse, internalSetAppliedImpulse, isEnabled, needsFeedback, setBreakingImpulseThreshold, setDbgDrawSize, setEnabled, setJointFeedback, setOverrideNumSolverIterations, setupSolverConstraint, setUserConstraintId, setUserConstraintPtr, setUserConstraintType, solveConstraintObsoletegetObjectType, m_objectType, m_objectTypeaddress, 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 btSliderConstraint(Pointer p)
Pointer(Pointer).public btSliderConstraint(@ByRef btRigidBody rbA, @ByRef btRigidBody rbB, @Const @ByRef btTransform frameInA, @Const @ByRef btTransform frameInB, @Cast(value="bool") boolean useLinearReferenceFrameA)
public btSliderConstraint(@ByRef btRigidBody rbB, @Const @ByRef btTransform frameInB, @Cast(value="bool") boolean useLinearReferenceFrameA)
public void getInfo1(btTypedConstraint.btConstraintInfo1 info)
btTypedConstraintgetInfo1 in class btTypedConstraintpublic void getInfo1NonVirtual(btTypedConstraint.btConstraintInfo1 info)
public void getInfo2(btTypedConstraint.btConstraintInfo2 info)
btTypedConstraintgetInfo2 in class btTypedConstraintpublic void getInfo2NonVirtual(btTypedConstraint.btConstraintInfo2 info, @Const @ByRef btTransform transA, @Const @ByRef btTransform transB, @Const @ByRef btVector3 linVelA, @Const @ByRef btVector3 linVelB, @Cast(value="btScalar") double rbAinvMass, @Cast(value="btScalar") double rbBinvMass)
@Const @ByRef public btRigidBody getRigidBodyA()
getRigidBodyA in class btTypedConstraint@Const @ByRef public btRigidBody getRigidBodyB()
getRigidBodyB in class btTypedConstraint@Const @ByRef public btTransform getCalculatedTransformA()
@Const @ByRef public btTransform getCalculatedTransformB()
@ByRef public btTransform getFrameOffsetA()
@ByRef public btTransform getFrameOffsetB()
public void setRestitutionDirLin(@Cast(value="btScalar") double restitutionDirLin)
public void setRestitutionDirAng(@Cast(value="btScalar") double restitutionDirAng)
public void setRestitutionLimLin(@Cast(value="btScalar") double restitutionLimLin)
public void setRestitutionLimAng(@Cast(value="btScalar") double restitutionLimAng)
public void setSoftnessOrthoLin(@Cast(value="btScalar") double softnessOrthoLin)
public void setRestitutionOrthoLin(@Cast(value="btScalar") double restitutionOrthoLin)
public void setSoftnessOrthoAng(@Cast(value="btScalar") double softnessOrthoAng)
public void setRestitutionOrthoAng(@Cast(value="btScalar") double restitutionOrthoAng)
public void setTargetLinMotorVelocity(@Cast(value="btScalar") double targetLinMotorVelocity)
public void setMaxLinMotorForce(@Cast(value="btScalar") double maxLinMotorForce)
public void setTargetAngMotorVelocity(@Cast(value="btScalar") double targetAngMotorVelocity)
public void setMaxAngMotorForce(@Cast(value="btScalar") double maxAngMotorForce)
public void calculateTransforms(@Const @ByRef btTransform transA, @Const @ByRef btTransform transB)
public void testLinLimits()
public void testAngLimits()
public void setFrames(@Const @ByRef btTransform frameA, @Const @ByRef btTransform frameB)
public void setParam(int num,
@Cast(value="btScalar")
double value,
int axis)
setParam in class btTypedConstraintpublic void setParam(int num,
@Cast(value="btScalar")
double value)
setParam in class btTypedConstraint@Cast(value="btScalar") public double getParam(int num, int axis)
getParam in class btTypedConstraint@Cast(value="btScalar") public double getParam(int num)
getParam in class btTypedConstraintpublic int getFlags()
public int calculateSerializeBufferSize()
calculateSerializeBufferSize in class btTypedConstraint@Cast(value="const char*") public BytePointer serialize(Pointer dataBuffer, btSerializer serializer)
serialize in class btTypedConstraintCopyright © 2024. All rights reserved.