Camera Movement Collision Test

Started by qcrist, August 21, 2011, 11:09:57 PM

Previous topic - Next topic

qcrist

Is there anyway to detect a collision with the Camera.moveCamera function?

camera.moveCamera(Camera.CAMERA_MOVEIN, 0.1f);

EgonOlsen

No. Because the camera has no idea about how the world is constructed. You can use the checkCameraCollisionXXX-methods in World instead.