@NoOffset @Properties(inherit=BulletDynamics.class) public class btPoint2PointConstraint extends btTypedConstraint
btTypedConstraint.btConstraintInfo1, btTypedConstraint.btConstraintInfo2Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btPoint2PointConstraint(btRigidBody rbA,
btRigidBody rbB,
btVector3 pivotInA,
btVector3 pivotInB) |
btPoint2PointConstraint(btRigidBody rbA,
btVector3 pivotInA) |
btPoint2PointConstraint(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
|
int |
calculateSerializeBufferSize() |
int |
getFlags() |
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 body0_trans,
btTransform body1_trans) |
double |
getParam(int num) |
double |
getParam(int num,
int axis)
return the local value of parameter
|
btVector3 |
getPivotInA() |
btVector3 |
getPivotInB() |
btConstraintSetting |
m_setting() |
btPoint2PointConstraint |
m_setting(btConstraintSetting setter) |
boolean |
m_useSolveConstraintObsolete()
for backwards compatibility during the transition to 'getInfo/getInfo2'
|
btPoint2PointConstraint |
m_useSolveConstraintObsolete(boolean setter) |
BytePointer |
serialize(Pointer dataBuffer,
btSerializer serializer)
fills the dataBuffer and returns the struct name (and 0 on failure)
|
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 |
setPivotA(btVector3 pivotA) |
void |
setPivotB(btVector3 pivotB) |
void |
updateRHS(double timeStep) |
enableFeedback, getAppliedImpulse, getBreakingImpulseThreshold, getConstraintType, getDbgDrawSize, getFixedBody, getJointFeedback, getOverrideNumSolverIterations, getRigidBodyA, getRigidBodyB, 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 btPoint2PointConstraint(Pointer p)
Pointer(Pointer).public btPoint2PointConstraint(@ByRef btRigidBody rbA, @ByRef btRigidBody rbB, @Const @ByRef btVector3 pivotInA, @Const @ByRef btVector3 pivotInB)
public btPoint2PointConstraint(@ByRef btRigidBody rbA, @Const @ByRef btVector3 pivotInA)
@Cast(value="bool") public boolean m_useSolveConstraintObsolete()
public btPoint2PointConstraint m_useSolveConstraintObsolete(boolean setter)
@ByRef public btConstraintSetting m_setting()
public btPoint2PointConstraint m_setting(btConstraintSetting setter)
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 body0_trans, @Const @ByRef btTransform body1_trans)
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.