@NoOffset @Properties(inherit=BulletDynamics.class) public class btKinematicCharacterController extends btCharacterControllerInterface
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btKinematicCharacterController(btPairCachingGhostObject ghostObject,
btConvexShape convexShape,
double stepHeight) |
btKinematicCharacterController(btPairCachingGhostObject ghostObject,
btConvexShape convexShape,
double stepHeight,
btVector3 up) |
btKinematicCharacterController(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyImpulse(btVector3 v) |
boolean |
canJump() |
void |
debugDraw(btIDebugDraw debugDrawer)
btActionInterface interface
|
double |
getAngularDamping() |
btVector3 |
getAngularVelocity() |
double |
getFallSpeed() |
btPairCachingGhostObject |
getGhostObject() |
btVector3 |
getGravity() |
double |
getJumpSpeed() |
double |
getLinearDamping() |
btVector3 |
getLinearVelocity() |
double |
getMaxPenetrationDepth() |
double |
getMaxSlope() |
double |
getStepHeight() |
btVector3 |
getUp() |
void |
jump() |
void |
jump(btVector3 v) |
boolean |
onGround() |
void |
playerStep(btCollisionWorld collisionWorld,
double dt) |
void |
preStep(btCollisionWorld collisionWorld) |
void |
reset(btCollisionWorld collisionWorld) |
void |
setAngularDamping(double d) |
void |
setAngularVelocity(btVector3 velocity) |
void |
setFallSpeed(double fallSpeed) |
void |
setGravity(btVector3 gravity) |
void |
setJumpSpeed(double jumpSpeed) |
void |
setLinearDamping(double d) |
void |
setLinearVelocity(btVector3 velocity) |
void |
setMaxJumpHeight(double maxJumpHeight) |
void |
setMaxPenetrationDepth(double d) |
void |
setMaxSlope(double slopeRadians)
The max slope determines the maximum angle that the controller can walk up.
|
void |
setStepHeight(double h) |
void |
setUp(btVector3 up) |
void |
setUpInterpolate(boolean value) |
void |
setUseGhostSweepTest(boolean useGhostObjectSweepTest) |
void |
setVelocityForTimeInterval(btVector3 velocity,
double timeInterval)
Caller provides a velocity with which the character should move for
the given time period.
|
void |
setWalkDirection(btVector3 walkDirection)
This should probably be called setPositionIncrementPerSimulatorStep.
|
void |
updateAction(btCollisionWorld collisionWorld,
double deltaTime)
btActionInterface interface
|
void |
warp(btVector3 origin) |
address, 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 btKinematicCharacterController(Pointer p)
Pointer(Pointer).public btKinematicCharacterController(btPairCachingGhostObject ghostObject, btConvexShape convexShape, @Cast(value="btScalar") double stepHeight, @Const @ByRef(nullValue="btVector3(1.0, 0.0, 0.0)") btVector3 up)
public btKinematicCharacterController(btPairCachingGhostObject ghostObject, btConvexShape convexShape, @Cast(value="btScalar") double stepHeight)
public void updateAction(btCollisionWorld collisionWorld, @Cast(value="btScalar") double deltaTime)
updateAction in class btActionInterfacepublic void debugDraw(btIDebugDraw debugDrawer)
debugDraw in class btActionInterfacepublic void setWalkDirection(@Const @ByRef btVector3 walkDirection)
setWalkDirection in class btCharacterControllerInterfacepublic void setVelocityForTimeInterval(@Const @ByRef btVector3 velocity, @Cast(value="btScalar") double timeInterval)
setVelocityForTimeInterval in class btCharacterControllerInterfacepublic void reset(btCollisionWorld collisionWorld)
reset in class btCharacterControllerInterfacepublic void warp(@Const @ByRef btVector3 origin)
warp in class btCharacterControllerInterfacepublic void preStep(btCollisionWorld collisionWorld)
preStep in class btCharacterControllerInterfacepublic void playerStep(btCollisionWorld collisionWorld, @Cast(value="btScalar") double dt)
playerStep in class btCharacterControllerInterface@Cast(value="bool") public boolean canJump()
canJump in class btCharacterControllerInterfacepublic void jump(@Const @ByRef(nullValue="btVector3(0, 0, 0)") btVector3 v)
jump in class btCharacterControllerInterfacepublic void jump()
jump in class btCharacterControllerInterfacepublic void setMaxSlope(@Cast(value="btScalar") double slopeRadians)
public btPairCachingGhostObject getGhostObject()
public void setUseGhostSweepTest(@Cast(value="bool") boolean useGhostObjectSweepTest)
@Cast(value="bool") public boolean onGround()
onGround in class btCharacterControllerInterfacepublic void setUpInterpolate(@Cast(value="bool") boolean value)
setUpInterpolate in class btCharacterControllerInterfaceCopyright © 2024. All rights reserved.