1
Support / Object not turning sideways with Camera
« on: January 09, 2013, 08:43:26 pm »
Hi Everyone
First let me introduce myself. I am Mohit. I have been playing with JPCT for about 10 days now.
Thank you Egon for creating it. It makes things so much easier.
I was trying to make an FPS with gun demo.
The weapon moves up and down as well as forward and backward BUT does not turn left and right with the camera.
Also if I set orientation landscape in manifest. The overlays' position are not as expected. But if i dont use it in the manifest and rotate the device in landscape mode, the position of overlays is fine.
I have attached the source code. I will be very thankful if someone can help me.
Let me know if I can provide any other details.
[attachment deleted by admin]
First let me introduce myself. I am Mohit. I have been playing with JPCT for about 10 days now.
Thank you Egon for creating it. It makes things so much easier.
I was trying to make an FPS with gun demo.
The weapon moves up and down as well as forward and backward BUT does not turn left and right with the camera.
Also if I set orientation landscape in manifest. The overlays' position are not as expected. But if i dont use it in the manifest and rotate the device in landscape mode, the position of overlays is fine.
I have attached the source code. I will be very thankful if someone can help me.
Let me know if I can provide any other details.
[attachment deleted by admin]