@NoOffset @Properties(inherit=BulletDynamics.class) public class btRotationalLimitMotor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btRotationalLimitMotor()
\}
|
btRotationalLimitMotor(btRotationalLimitMotor limot) |
btRotationalLimitMotor(long size)
Native array allocator.
|
btRotationalLimitMotor(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
btRotationalLimitMotor |
getPointer(long i) |
boolean |
isLimited()
Is limited
|
double |
m_accumulatedImpulse() |
btRotationalLimitMotor |
m_accumulatedImpulse(double setter) |
double |
m_bounce()
restitution factor
|
btRotationalLimitMotor |
m_bounce(double setter) |
int |
m_currentLimit()
0=free, 1=at lo limit, 2=at hi limit
|
btRotationalLimitMotor |
m_currentLimit(int setter) |
double |
m_currentLimitError()
\}
|
btRotationalLimitMotor |
m_currentLimitError(double setter) |
double |
m_currentPosition()
How much is violated this limit
|
btRotationalLimitMotor |
m_currentPosition(double setter) |
double |
m_damping()
Damping.
|
btRotationalLimitMotor |
m_damping(double setter) |
boolean |
m_enableMotor() |
btRotationalLimitMotor |
m_enableMotor(boolean setter) |
double |
m_hiLimit()
joint limit
|
btRotationalLimitMotor |
m_hiLimit(double setter) |
double |
m_limitSoftness() |
btRotationalLimitMotor |
m_limitSoftness(double setter) |
double |
m_loLimit()
joint limit
|
btRotationalLimitMotor |
m_loLimit(double setter) |
double |
m_maxLimitForce()
max force on limit
|
btRotationalLimitMotor |
m_maxLimitForce(double setter) |
double |
m_maxMotorForce()
max force on motor
|
btRotationalLimitMotor |
m_maxMotorForce(double setter) |
double |
m_normalCFM()
Constraint force mixing factor
|
btRotationalLimitMotor |
m_normalCFM(double setter) |
double |
m_stopCFM()
Constraint force mixing factor when joint is at limit
|
btRotationalLimitMotor |
m_stopCFM(double setter) |
double |
m_stopERP()
Error tolerance factor when joint is at limit
|
btRotationalLimitMotor |
m_stopERP(double setter) |
double |
m_targetVelocity()
target motor velocity
|
btRotationalLimitMotor |
m_targetVelocity(double setter) |
boolean |
needApplyTorques()
Need apply correction
|
btRotationalLimitMotor |
position(long position) |
double |
solveAngularLimits(double timeStep,
btVector3 axis,
double jacDiagABInv,
btRigidBody body0,
btRigidBody body1)
apply the correction impulses for two bodies
|
int |
testLimitValue(double test_value)
calculates error
/**
calculates m_currentLimit and m_currentLimitError.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btRotationalLimitMotor(Pointer p)
Pointer(Pointer).public btRotationalLimitMotor(long size)
Pointer.position(long).public btRotationalLimitMotor()
public btRotationalLimitMotor(@Const @ByRef btRotationalLimitMotor limot)
public btRotationalLimitMotor position(long position)
public btRotationalLimitMotor getPointer(long i)
getPointer in class Pointerpublic btRotationalLimitMotor m_loLimit(double setter)
public btRotationalLimitMotor m_hiLimit(double setter)
public btRotationalLimitMotor m_targetVelocity(double setter)
public btRotationalLimitMotor m_maxMotorForce(double setter)
public btRotationalLimitMotor m_maxLimitForce(double setter)
public btRotationalLimitMotor m_damping(double setter)
public btRotationalLimitMotor m_limitSoftness(double setter)
public btRotationalLimitMotor m_normalCFM(double setter)
@Cast(value="btScalar") public double m_stopERP()
public btRotationalLimitMotor m_stopERP(double setter)
@Cast(value="btScalar") public double m_stopCFM()
public btRotationalLimitMotor m_stopCFM(double setter)
public btRotationalLimitMotor m_bounce(double setter)
public btRotationalLimitMotor m_enableMotor(boolean setter)
@Cast(value="btScalar") public double m_currentLimitError()
temp_variables \{
public btRotationalLimitMotor m_currentLimitError(double setter)
@Cast(value="btScalar") public double m_currentPosition()
public btRotationalLimitMotor m_currentPosition(double setter)
public int m_currentLimit()
public btRotationalLimitMotor m_currentLimit(int setter)
public btRotationalLimitMotor m_accumulatedImpulse(double setter)
public int testLimitValue(@Cast(value="btScalar") double test_value)
@Cast(value="btScalar") public double solveAngularLimits(@Cast(value="btScalar") double timeStep, @ByRef btVector3 axis, @Cast(value="btScalar") double jacDiagABInv, btRigidBody body0, btRigidBody body1)
Copyright © 2024. All rights reserved.