com.bulletphysics.demos.bsp
Class BspDemo
java.lang.Object
com.bulletphysics.demos.opengl.DemoApplication
com.bulletphysics.demos.bsp.BspDemo
public class BspDemo
- extends DemoApplication
BspDemo shows the convex collision detection, by converting a Quake BSP file
into convex objects and allowing interaction with boxes.
Fields inherited from class com.bulletphysics.demos.opengl.DemoApplication |
azi, cameraDistance, cameraPosition, cameraTargetPosition, cameraUp, clock, debugMode, dynamicsWorld, ele, forwardAxis, gl, glutScreenHeight, glutScreenWidth, gShapePtr, idle, lastKey, maxNumObjects, numObjects, pickConstraint, pickedBody, scaleBottom, scaleFactor, ShootBoxInitialSpeed, shootBoxShape, singleStep, startTransforms, stepping |
Methods inherited from class com.bulletphysics.demos.opengl.DemoApplication |
clientResetScene, destroy, drawString, getCameraDistance, getCameraPosition, getCameraTargetPosition, getDebugMode, getDeltaTimeMicroseconds, getDynamicsWorld, getRayTo, isIdle, keyboardCallback, localCreateRigidBody, mouseFunc, mouseMotionFunc, moveAndDisplay, myinit, renderme, resetPerspectiveProjection, reshape, setCameraDistance, setCameraForwardAxis, setCameraUp, setDebugMode, setIdle, setOrthographicProjection, shootBox, showProfileInfo, specialKeyboard, specialKeyboardUp, stepBack, stepFront, stepLeft, stepRight, toggleIdle, updateCamera, zoomIn, zoomOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collisionShapes
public java.util.List<CollisionShape> collisionShapes
broadphase
public BroadphaseInterface broadphase
dispatcher
public CollisionDispatcher dispatcher
solver
public ConstraintSolver solver
collisionConfiguration
public DefaultCollisionConfiguration collisionConfiguration
BspDemo
public BspDemo(IGL gl)
initPhysics
public void initPhysics()
throws java.lang.Exception
- Specified by:
initPhysics
in class DemoApplication
- Throws:
java.lang.Exception
clientMoveAndDisplay
public void clientMoveAndDisplay()
- Specified by:
clientMoveAndDisplay
in class DemoApplication
displayCallback
public void displayCallback()
- Overrides:
displayCallback
in class DemoApplication
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception