@NoOffset @Properties(inherit=BulletDynamics.class) public class btMultiBodyMLCPConstraintSolver extends btMultiBodyConstraintSolver
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btMultiBodyMLCPConstraintSolver(btMLCPSolverInterface solver)
Constructor
|
btMultiBodyMLCPConstraintSolver(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumFallbacks()
Returns the number of fallbacks of using btSequentialImpulseConstraintSolver, which happens when the MLCP
solver fails.
|
int |
getSolverType()
Returns the constraint solver type.
|
void |
setMLCPSolver(btMLCPSolverInterface solver)
Sets MLCP solver.
|
void |
setNumFallbacks(int num)
Sets the number of fallbacks.
|
getPointer, position, solveGroup, solveGroup, solveGroupCacheFriendlyFinish, solveGroupCacheFriendlyFinish, solveMultiBodyGroup, solveMultiBodyGroupbtRand2, btRandInt2, getActiveConstraintRowSolverGeneric, getActiveConstraintRowSolverLowerLimit, getRandSeed, getScalarConstraintRowSolverGeneric, getScalarConstraintRowSolverLowerLimit, m_analyticsData, m_analyticsData, reset, setConstraintRowSolverGeneric, setConstraintRowSolverLowerLimit, setRandSeedallSolved, prepareSolveaddress, 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 btMultiBodyMLCPConstraintSolver(Pointer p)
Pointer(Pointer).public btMultiBodyMLCPConstraintSolver(btMLCPSolverInterface solver)
solver - [in] MLCP solver. Assumed it's not null.maxLCPSize - [in] Maximum size of LCP to solve using MLCP solver. If the MLCP size exceeds this number, sequaltial impulse method will be used.public void setMLCPSolver(btMLCPSolverInterface solver)
public int getNumFallbacks()
public void setNumFallbacks(int num)
@Cast(value="btConstraintSolverType") public int getSolverType()
getSolverType in class btSequentialImpulseConstraintSolverCopyright © 2024. All rights reserved.