@NoOffset @Properties(inherit=BulletDynamics.class) public class btDynamicsWorld extends btCollisionWorld
btCollisionWorld.AllHitsRayResultCallback, btCollisionWorld.ClosestConvexResultCallback, btCollisionWorld.ClosestRayResultCallback, btCollisionWorld.ContactResultCallback, btCollisionWorld.ConvexResultCallback, btCollisionWorld.LocalConvexResult, btCollisionWorld.LocalRayResult, btCollisionWorld.LocalShapeInfo, btCollisionWorld.RayResultCallbackPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btDynamicsWorld(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(btActionInterface action) |
void |
addCharacter(btActionInterface character)
obsolete, use addAction instead.
|
void |
addConstraint(btTypedConstraint constraint) |
void |
addConstraint(btTypedConstraint constraint,
boolean disableCollisionsBetweenLinkedBodies) |
void |
addRigidBody(btRigidBody body) |
void |
addRigidBody(btRigidBody body,
int group,
int mask) |
void |
addVehicle(btActionInterface vehicle)
obsolete, use addAction instead.
|
void |
clearForces() |
void |
debugDrawWorld() |
btTypedConstraint |
getConstraint(int index) |
btConstraintSolver |
getConstraintSolver() |
btVector3 |
getGravity() |
int |
getNumConstraints() |
btContactSolverInfo |
getSolverInfo() |
int |
getWorldType() |
Pointer |
getWorldUserInfo() |
void |
removeAction(btActionInterface action) |
void |
removeCharacter(btActionInterface character)
obsolete, use removeAction instead
|
void |
removeConstraint(btTypedConstraint constraint) |
void |
removeRigidBody(btRigidBody body) |
void |
removeVehicle(btActionInterface vehicle)
obsolete, use removeAction instead
|
void |
setConstraintSolver(btConstraintSolver solver) |
void |
setGravity(btVector3 gravity) |
void |
setInternalTickCallback(btInternalTickCallback cb) |
void |
setInternalTickCallback(btInternalTickCallback cb,
Pointer worldUserInfo,
boolean isPreTick)
Set the callback for when an internal tick (simulation substep) happens, optional user info
|
void |
setWorldUserInfo(Pointer worldUserInfo) |
int |
stepSimulation(double timeStep) |
int |
stepSimulation(double timeStep,
int maxSubSteps,
double fixedTimeStep)
stepSimulation proceeds the simulation over 'timeStep', units in preferably in seconds.
|
void |
synchronizeMotionStates() |
addCollisionObject, addCollisionObject, computeOverlappingPairs, contactPairTest, contactTest, convexSweepTest, convexSweepTest, debugDrawObject, getBroadphase, getCollisionObjectArray, getDebugDrawer, getDispatcher, getDispatchInfo, getForceUpdateAllAabbs, getNumCollisionObjects, getPairCache, objectQuerySingle, objectQuerySingleInternal, performDiscreteCollisionDetection, rayTest, rayTestSingle, rayTestSingleInternal, refreshBroadphaseProxy, removeCollisionObject, serialize, setBroadphase, setDebugDrawer, setForceUpdateAllAabbs, updateAabbs, updateSingleAabbaddress, 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 btDynamicsWorld(Pointer p)
Pointer(Pointer).public int stepSimulation(@Cast(value="btScalar") double timeStep, int maxSubSteps, @Cast(value="btScalar") double fixedTimeStep)
public void debugDrawWorld()
debugDrawWorld in class btCollisionWorldpublic void addConstraint(btTypedConstraint constraint, @Cast(value="bool") boolean disableCollisionsBetweenLinkedBodies)
public void addConstraint(btTypedConstraint constraint)
public void removeConstraint(btTypedConstraint constraint)
public void addAction(btActionInterface action)
public void removeAction(btActionInterface action)
public void synchronizeMotionStates()
public void addRigidBody(btRigidBody body)
public void addRigidBody(btRigidBody body, int group, int mask)
public void removeRigidBody(btRigidBody body)
public void setConstraintSolver(btConstraintSolver solver)
public btConstraintSolver getConstraintSolver()
public int getNumConstraints()
public btTypedConstraint getConstraint(int index)
public void clearForces()
public void setInternalTickCallback(btInternalTickCallback cb, Pointer worldUserInfo, @Cast(value="bool") boolean isPreTick)
public void setInternalTickCallback(btInternalTickCallback cb)
public void setWorldUserInfo(Pointer worldUserInfo)
public Pointer getWorldUserInfo()
@ByRef public btContactSolverInfo getSolverInfo()
public void addVehicle(btActionInterface vehicle)
public void removeVehicle(btActionInterface vehicle)
public void addCharacter(btActionInterface character)
public void removeCharacter(btActionInterface character)
Copyright © 2024. All rights reserved.