The player shakes when approaching objects

EVG

Member
If you come close to something and walk a little sideways, a slight shaking begins.
UFPS 3.0.18
 
Thanks - you can fix this by changing line 1115 of CharacterLocomotion from:

Code:
                        m_DesiredMovement += offset;
to:
Code:
                        m_DesiredMovement = m_DesiredMovement.normalized * offset.magnitude;
 
  • Like
Reactions: EVG
I am not able to reproduce this. Have you tried it in a completely fresh project?
 
I reverted the change above due to the character not sliding along the wall properly. If you make the same change again does it work better for you?
 
No, with this change it really doesn't slide well on walls, so a little camera shake is better. But ideally it shouldn’t exist either. )
 
When I move in one direction it's fine but do notice it going another direction. I'll take a closer look for the next update :)
 
  • Like
Reactions: EVG
Top