Camera Collision

Alright…

Ive got evrything in order… except that my 1st person camera does not have a collision… i can go right thrue everything except the terrain…



[java]

CapsuleCollisionShape playerShape = new CapsuleCollisionShape(0.7f, 0.5f, 1);

physicsPlayer = new CharacterControl(playerShape, 0.01f);

physicsPlayer.setJumpSpeed(7);

physicsPlayer.setFallSpeed(3);

physicsPlayer.setGravity(20);

physicsPlayer.setPhysicsLocation(new Vector3f(0, 1, 0));

bulletAppState.getPhysicsSpace().add(physicsPlayer);

[/java]



is there away to get this working?