@NoOffset @Properties(inherit=Bullet3Dynamics.class) public class b3RotationalLimitMotor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
b3RotationalLimitMotor()
\}
|
b3RotationalLimitMotor(b3RotationalLimitMotor limot) |
b3RotationalLimitMotor(long size)
Native array allocator.
|
b3RotationalLimitMotor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
b3RotationalLimitMotor |
getPointer(long i) |
boolean |
isLimited()
Is limited
|
float |
m_accumulatedImpulse() |
b3RotationalLimitMotor |
m_accumulatedImpulse(float setter) |
float |
m_bounce()
restitution factor
|
b3RotationalLimitMotor |
m_bounce(float setter) |
int |
m_currentLimit()
0=free, 1=at lo limit, 2=at hi limit
|
b3RotationalLimitMotor |
m_currentLimit(int setter) |
float |
m_currentLimitError()
\}
|
b3RotationalLimitMotor |
m_currentLimitError(float setter) |
float |
m_currentPosition()
How much is violated this limit
|
b3RotationalLimitMotor |
m_currentPosition(float setter) |
float |
m_damping()
Damping.
|
b3RotationalLimitMotor |
m_damping(float setter) |
boolean |
m_enableMotor() |
b3RotationalLimitMotor |
m_enableMotor(boolean setter) |
float |
m_hiLimit()
joint limit
|
b3RotationalLimitMotor |
m_hiLimit(float setter) |
float |
m_limitSoftness() |
b3RotationalLimitMotor |
m_limitSoftness(float setter) |
float |
m_loLimit()
joint limit
|
b3RotationalLimitMotor |
m_loLimit(float setter) |
float |
m_maxLimitForce()
max force on limit
|
b3RotationalLimitMotor |
m_maxLimitForce(float setter) |
float |
m_maxMotorForce()
max force on motor
|
b3RotationalLimitMotor |
m_maxMotorForce(float setter) |
float |
m_normalCFM()
Constraint force mixing factor
|
b3RotationalLimitMotor |
m_normalCFM(float setter) |
float |
m_stopCFM()
Constraint force mixing factor when joint is at limit
|
b3RotationalLimitMotor |
m_stopCFM(float setter) |
float |
m_stopERP()
Error tolerance factor when joint is at limit
|
b3RotationalLimitMotor |
m_stopERP(float setter) |
float |
m_targetVelocity()
target motor velocity
|
b3RotationalLimitMotor |
m_targetVelocity(float setter) |
boolean |
needApplyTorques()
Need apply correction
|
b3RotationalLimitMotor |
position(long position) |
int |
testLimitValue(float 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, zero
public b3RotationalLimitMotor(Pointer p)
Pointer(Pointer)
.public b3RotationalLimitMotor(long size)
Pointer.position(long)
.public b3RotationalLimitMotor()
public b3RotationalLimitMotor(@Const @ByRef b3RotationalLimitMotor limot)
public b3RotationalLimitMotor position(long position)
public b3RotationalLimitMotor getPointer(long i)
getPointer
in class Pointer
public b3RotationalLimitMotor m_loLimit(float setter)
public b3RotationalLimitMotor m_hiLimit(float setter)
public b3RotationalLimitMotor m_targetVelocity(float setter)
public b3RotationalLimitMotor m_maxMotorForce(float setter)
public b3RotationalLimitMotor m_maxLimitForce(float setter)
public b3RotationalLimitMotor m_damping(float setter)
public b3RotationalLimitMotor m_limitSoftness(float setter)
public b3RotationalLimitMotor m_normalCFM(float setter)
@Cast(value="b3Scalar") public float m_stopERP()
public b3RotationalLimitMotor m_stopERP(float setter)
@Cast(value="b3Scalar") public float m_stopCFM()
public b3RotationalLimitMotor m_stopCFM(float setter)
public b3RotationalLimitMotor m_bounce(float setter)
public b3RotationalLimitMotor m_enableMotor(boolean setter)
public b3RotationalLimitMotor m_currentLimitError(float setter)
@Cast(value="b3Scalar") public float m_currentPosition()
public b3RotationalLimitMotor m_currentPosition(float setter)
public int m_currentLimit()
public b3RotationalLimitMotor m_currentLimit(int setter)
public b3RotationalLimitMotor m_accumulatedImpulse(float setter)
Copyright © 2024. All rights reserved.