Camera slowly rolls the longer you play

artius

Member
I'm having an issue where the camera's the axis slowly rotates the more you collide with other objects. I'm not sure what the problem is.
 
Is your character aligned properly so up is vector3.up? Can you reproduce it within the demo scene?
 
I took a look and it looks like it's not the camera that's tilting, but the player. I'm using AddForce to create a dash. I think what's happening is that the character is being yanked through solid objects and being forced to rotate.
 
Unless you have started the character at a non-up rotation the character won't move to that rotation unless you are using an align to gravity type of ability. Adding force also isn't a problem, though if you add a delta rotation then that could cause problems.
 
Top