etsuja
27-02-2010 08:30:24
I'm having a problem where if my player physics body is on a slight hill and moving forwards, I can't turn very well. It tries to turn the opposite way when I turn.
Any ideas on how to fix this?
kallaspriit
27-02-2010 09:52:08
What kind of player-controller are you using?
etsuja
28-02-2010 00:01:16
I'm turning the player with the mouse, and it works fine as long as I'm on even ground.
PJani
01-03-2010 10:51:07
are you using setPositionOrientation(...)? Because this can cause this kind of problems.
etsuja
03-03-2010 04:18:27
I am using setPositionOrientation but I fixed it by setting the material friction to 0.
PJani
03-03-2010 19:00:35
using setPositionOrientation is bad idea!! Because collision checks do fail if you do this.
kallaspriit
14-03-2010 21:51:24
Player controller is no trivial thing to implement, try using the built-in character controller by Julio, it is available in the demos.