Author Topic: Camera Movement Collision Test  (Read 665 times)

Offline qcrist

  • byte
  • *
  • Posts: 29
    • View Profile
Camera Movement Collision Test
« on: August 21, 2011, 11:09:57 pm »
Is there anyway to detect a collision with the Camera.moveCamera function?

Code: [Select]
camera.moveCamera(Camera.CAMERA_MOVEIN, 0.1f);

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: Camera Movement Collision Test
« Reply #1 on: August 22, 2011, 06:59:04 am »
No. Because the camera has no idea about how the world is constructed. You can use the checkCameraCollisionXXX-methods in World instead.