Character flickering

wlabsocks

New member
Hey,

i am using "Third Person Controller" and characters are flickering when i moved.

in the demo scene same problem. (default settings)

here:


note: walking without aim, same problem. always flickering character when i move.

version: 2.3.4 last version
 
Last edited:
Thanks for answering.

i didn't modify update location. but i modified update to fixedupdate and problem is fixed. why?

and demo scene works fine.

my settings:
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    95.2 KB · Views: 6
Thanks. I see what happened - within KinematicObjectManager change the following within BeginCharacterMovementInternal:

Code:
            if (m_Characters[characterIndex].CharacterLocomotion.UpdateLocation == UpdateLocation.FixedUpdate) {
                m_Characters[characterIndex].RestoreFixedLocation();
            }
to:
Code:
            if (m_Characters[characterIndex].CharacterLocomotion.UpdateLocation == UpdateLocation.FixedUpdate) {
                m_Characters[characterIndex].RestoreFixedLocation();
            } else {
                m_FixedFrameCount = 1;
            }
 
Thanks. I see what happened - within KinematicObjectManager change the following within BeginCharacterMovementInternal:

Code:
            if (m_Characters[characterIndex].CharacterLocomotion.UpdateLocation == UpdateLocation.FixedUpdate) {
                m_Characters[characterIndex].RestoreFixedLocation();
            }
to:
Code:
            if (m_Characters[characterIndex].CharacterLocomotion.UpdateLocation == UpdateLocation.FixedUpdate) {
                m_Characters[characterIndex].RestoreFixedLocation();
            } else {
                m_FixedFrameCount = 1;
            }
it worked. thank you!
 
Top