jBullet Camera “Holder” Is Not Moving
问题 I am using jBullet with OpenGL to create a basic game engine. I created two classes named ObjectSurface and ObjectEntity . Basically ObjectSurface's have no mass so they don't move and ObjectEntity's can move by collision or gravity. I created a Camera with an ObjectEntity object named cameraHolder so that it can fall and have collision and all. The problem is that the cameraHolder is supposed to move when the specific WASD key is pressed but it only moves one unit and doesn't move anymore.