@NoOffset @Properties(inherit=BulletDynamics.class) public class btConeTwistConstraint extends btTypedConstraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btConeTwistConstraint(btRigidBody rbA,
btRigidBody rbB,
btTransform rbAFrame,
btTransform rbBFrame) |
btConeTwistConstraint(btRigidBody rbA,
btTransform rbAFrame) |
btConeTwistConstraint(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildJacobian()
internal method used by the constraint solver, don't use them directly
|
void |
calcAngleInfo() |
void |
calcAngleInfo2(btTransform transA,
btTransform transB,
btMatrix3x3 invInertiaWorldA,
btMatrix3x3 invInertiaWorldB) |
int |
calculateSerializeBufferSize() |
void |
enableMotor(boolean b) |
btTransform |
getAFrame() |
boolean |
getAngularOnly() |
btTransform |
getBFrame() |
double |
getBiasFactor() |
double |
getDamping() |
double |
getFixThresh() |
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,
btMatrix3x3 invInertiaWorldA,
btMatrix3x3 invInertiaWorldB) |
double |
getLimit(int limitIndex) |
double |
getLimitSoftness() |
double |
getMaxMotorImpulse() |
btQuaternion |
getMotorTarget() |
double |
getParam(int num) |
double |
getParam(int num,
int axis)
return the local value of parameter
|
btVector3 |
GetPointForAngle(double fAngleInRadians,
double fLength) |
double |
getRelaxationFactor() |
btRigidBody |
getRigidBodyA() |
btRigidBody |
getRigidBodyB() |
int |
getSolveSwingLimit() |
int |
getSolveTwistLimit() |
double |
getSwingSpan1() |
double |
getSwingSpan2() |
double |
getTwistAngle() |
double |
getTwistLimitSign() |
double |
getTwistSpan() |
boolean |
isMaxMotorImpulseNormalized() |
boolean |
isMotorEnabled() |
boolean |
isPastSwingLimit() |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
void |
setAngularOnly(boolean angularOnly) |
void |
setDamping(double damping) |
void |
setFixThresh(double fixThresh) |
void |
setFrames(btTransform frameA,
btTransform frameB) |
void |
setLimit(double _swingSpan1,
double _swingSpan2,
double _twistSpan) |
void |
setLimit(double _swingSpan1,
double _swingSpan2,
double _twistSpan,
double _softness,
double _biasFactor,
double _relaxationFactor) |
void |
setLimit(int limitIndex,
double limitValue) |
void |
setMaxMotorImpulse(double maxMotorImpulse) |
void |
setMaxMotorImpulseNormalized(double maxMotorImpulse) |
void |
setMotorTarget(btQuaternion q) |
void |
setMotorTargetInConstraintSpace(btQuaternion q) |
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 |
solveConstraintObsolete(btSolverBody bodyA,
btSolverBody bodyB,
double timeStep)
internal method used by the constraint solver, don't use them directly
|
void |
updateRHS(double timeStep) |
enableFeedback, getAppliedImpulse, getBreakingImpulseThreshold, getConstraintType, getDbgDrawSize, getFixedBody, getJointFeedback, getOverrideNumSolverIterations, getUid, getUserConstraintId, getUserConstraintPtr, getUserConstraintType, internalGetAppliedImpulse, internalSetAppliedImpulse, isEnabled, needsFeedback, setBreakingImpulseThreshold, setDbgDrawSize, setEnabled, setJointFeedback, setOverrideNumSolverIterations, setupSolverConstraint, setUserConstraintId, setUserConstraintPtr, setUserConstraintTypegetObjectType, 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 btConeTwistConstraint(Pointer p)
Pointer(Pointer).public btConeTwistConstraint(@ByRef btRigidBody rbA, @ByRef btRigidBody rbB, @Const @ByRef btTransform rbAFrame, @Const @ByRef btTransform rbBFrame)
public btConeTwistConstraint(@ByRef btRigidBody rbA, @Const @ByRef btTransform rbAFrame)
public void buildJacobian()
btTypedConstraintbuildJacobian in class btTypedConstraintpublic 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 btMatrix3x3 invInertiaWorldA, @Const @ByRef btMatrix3x3 invInertiaWorldB)
public void solveConstraintObsolete(@ByRef btSolverBody bodyA, @ByRef btSolverBody bodyB, @Cast(value="btScalar") double timeStep)
btTypedConstraintsolveConstraintObsolete in class btTypedConstraint@Const @ByRef public btRigidBody getRigidBodyA()
getRigidBodyA in class btTypedConstraint@Const @ByRef public btRigidBody getRigidBodyB()
getRigidBodyB in class btTypedConstraintpublic void setLimit(@Cast(value="btScalar") double _swingSpan1, @Cast(value="btScalar") double _swingSpan2, @Cast(value="btScalar") double _twistSpan, @Cast(value="btScalar") double _softness, @Cast(value="btScalar") double _biasFactor, @Cast(value="btScalar") double _relaxationFactor)
public void setLimit(@Cast(value="btScalar") double _swingSpan1, @Cast(value="btScalar") double _swingSpan2, @Cast(value="btScalar") double _twistSpan)
@Const @ByRef public btTransform getAFrame()
@Const @ByRef public btTransform getBFrame()
public int getSolveTwistLimit()
public int getSolveSwingLimit()
public void calcAngleInfo()
public void calcAngleInfo2(@Const @ByRef btTransform transA, @Const @ByRef btTransform transB, @Const @ByRef btMatrix3x3 invInertiaWorldA, @Const @ByRef btMatrix3x3 invInertiaWorldB)
public void setMaxMotorImpulseNormalized(@Cast(value="btScalar") double maxMotorImpulse)
public void setMotorTarget(@Const @ByRef btQuaternion q)
@Const @ByRef public btQuaternion getMotorTarget()
public void setMotorTargetInConstraintSpace(@Const @ByRef btQuaternion q)
@ByVal public btVector3 GetPointForAngle(@Cast(value="btScalar") double fAngleInRadians, @Cast(value="btScalar") double fLength)
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 btTypedConstraintpublic void setFrames(@Const @ByRef btTransform frameA, @Const @ByRef btTransform frameB)
@Const @ByRef public btTransform getFrameOffsetA()
@Const @ByRef public btTransform getFrameOffsetB()
@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.