Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Camera Movement Collision Test
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Camera Movement Collision Test (Read 1936 times)
qcrist
byte
Posts: 29
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);
Logged
EgonOlsen
Administrator
quad
Posts: 12298
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Camera Movement Collision Test