Page 1 of 1
Problems with camera
Posted: Wed Mar 02, 2011 6:42 am
by zbynio
Hi
rev 579
The whole time the camera will be set below the ground. (At least it looks that way)
This problem only occurs on the map North Janost O.O
Maybe Y not set?
Camera height is set at all times, as in the village Rh'anka.
If you go up the hill next to teleport to the village Sley camera is always at Rh'anka and the view from the camera falls into the ground.
Well, I have a view on the ass of my character.

Has anyone else have this problem?
Re: Problems with camera
Posted: Wed Mar 02, 2011 11:13 am
by Alkaiser
I too have noticed odd camera movement with the latest revision. The camera jerks when the character is moving, and yes it often ends up dragging on the ground, and sometimes it pops up above the character.
Re: Problems with camera
Posted: Wed Mar 02, 2011 11:59 am
by rock5
I only added 1 line in regards to camera movement. I'm not sure why it would be behaving as you described but you can try removing it again and seeing if it helps.
The line is line 1892 if player.lua.
Code: Select all
camera:setRotation(self.Direction);
Remove it and see if it helps. Let me know if it does.
Re: Problems with camera
Posted: Wed Mar 02, 2011 3:10 pm
by Alkaiser
rock5 wrote:I only added 1 line in regards to camera movement. I'm not sure why it would be behaving as you described but you can try removing it again and seeing if it helps.
The line is line 1892 if player.lua.
Code: Select all
camera:setRotation(self.Direction);
Remove it and see if it helps. Let me know if it does.
Camera jerkiness is gone when I remove it.
Re: Problems with camera
Posted: Wed Mar 02, 2011 7:55 pm
by rock5
Ok. I added it in the hopes of getting the camera to better follow the direction the player is moving but if it's causing problems, I'll remove it. It was a cosmetic thing anyway.
Added to rev 580.
Re: Problems with camera
Posted: Sat Mar 12, 2011 11:19 am
by zbynio
Yes - problem solved - thanx
