public class btKinematicCharacterController extends btCharacterControllerInterface
className| Constructor and Description |
|---|
btKinematicCharacterController(btPairCachingGhostObject ghostObject,
btConvexShape convexShape,
float stepHeight) |
btKinematicCharacterController(btPairCachingGhostObject ghostObject,
btConvexShape convexShape,
float stepHeight,
Vector3 up) |
btKinematicCharacterController(long cPtr,
boolean cMemoryOwn)
Construct a new btKinematicCharacterController, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyImpulse(Vector3 v) |
float |
getAngularDamping() |
Vector3 |
getAngularVelocity() |
static long |
getCPtr(btKinematicCharacterController obj) |
float |
getFallSpeed() |
btPairCachingGhostObject |
getGhostObject() |
Vector3 |
getGravity() |
float |
getJumpSpeed() |
float |
getLinearDamping() |
Vector3 |
getLinearVelocity() |
float |
getMaxPenetrationDepth() |
float |
getMaxSlope() |
float |
getStepHeight() |
Vector3 |
getUp() |
void |
jump() |
void |
jump(Vector3 v) |
void |
setAngularDamping(float d) |
void |
setAngularVelocity(Vector3 velocity) |
void |
setFallSpeed(float fallSpeed) |
void |
setGravity(Vector3 gravity) |
void |
setJumpSpeed(float jumpSpeed) |
void |
setLinearDamping(float d) |
void |
setLinearVelocity(Vector3 velocity) |
void |
setMaxJumpHeight(float maxJumpHeight) |
void |
setMaxPenetrationDepth(float d) |
void |
setMaxSlope(float slopeRadians) |
void |
setStepHeight(float h) |
void |
setUp(Vector3 up) |
void |
setUseGhostSweepTest(boolean useGhostObjectSweepTest) |
canJump, getCPtr, onGround, playerStep, preStep, reset, setUpInterpolate, setVelocityForTimeInterval, setWalkDirection, warpdebugDraw, getCPtr, updateActiondispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btKinematicCharacterController(long cPtr,
boolean cMemoryOwn)
public btKinematicCharacterController(btPairCachingGhostObject ghostObject, btConvexShape convexShape, float stepHeight, Vector3 up)
public btKinematicCharacterController(btPairCachingGhostObject ghostObject, btConvexShape convexShape, float stepHeight)
public static long getCPtr(btKinematicCharacterController obj)
public void setUp(Vector3 up)
public Vector3 getUp()
public void setAngularVelocity(Vector3 velocity)
public Vector3 getAngularVelocity()
public void setLinearVelocity(Vector3 velocity)
public Vector3 getLinearVelocity()
public void setLinearDamping(float d)
public float getLinearDamping()
public void setAngularDamping(float d)
public float getAngularDamping()
public void setStepHeight(float h)
public float getStepHeight()
public void setFallSpeed(float fallSpeed)
public float getFallSpeed()
public void setJumpSpeed(float jumpSpeed)
public float getJumpSpeed()
public void setMaxJumpHeight(float maxJumpHeight)
public void jump(Vector3 v)
jump in class btCharacterControllerInterfacepublic void jump()
jump in class btCharacterControllerInterfacepublic void applyImpulse(Vector3 v)
public void setGravity(Vector3 gravity)
public Vector3 getGravity()
public void setMaxSlope(float slopeRadians)
public float getMaxSlope()
public void setMaxPenetrationDepth(float d)
public float getMaxPenetrationDepth()
public btPairCachingGhostObject getGhostObject()
public void setUseGhostSweepTest(boolean useGhostObjectSweepTest)
Copyright © 2017. All rights reserved.