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.
|
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 long operatorNew(long sizeInBytes)
public void operatorDelete(long ptr)
public long operatorNew(long arg0,
long ptr)
public void operatorDelete(long arg0,
long arg1)
public long operatorNewArray(long sizeInBytes)
public void operatorDeleteArray(long ptr)
public long operatorNewArray(long arg0,
long ptr)
public void operatorDeleteArray(long arg0,
long arg1)
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 © 2021. All rights reserved.