Bug fixing.

Fixed sticking to walls, grounding and mesh rotation.