Hello, when the character and other parts of the game are moving there is a visible jitter/shitter. It has been kind of hard to tell but due to another problem these white lines are visible on the edge of the window. These also jitter. I am not currently worried about what is creating the white lines, I just want the jittering of all the moving parts to stop.
Thanks for your help.
Video:
Hi.
Maybe put more effort in writing your question.
You didn’t share any details about:
How are you moving your character (code)?
How are you moving your camera (code)?
How have you setup your colliders (both character and environment)?
So it is pretty hard to say anything, other than guess what you might have done…
Hello, thank you for the response.
The code is being called in LateUpdate.
I am using a rigid body to move my character
if (!isGrounded && !isWallSliding && movementInputDirection == 0 && !isClimbing && canMove)
{
if(!moveOnlyWhenInput)
{
rb.velocity = new Vector2(rb.velocity.x, rb.velocity.y);
}
else
{
rb.velocity = new Vector2(0, rb.velocity.y);
}
}
I am using cinemachinevirtualcamera that is set to follow my player around.
My environment and character do have boxcollider on them.
You still left many things unanswered…
Are you using Rigidbody or Rigidbody2D?
How have you setup your rigidbody?
Are you using Rigidbody interpolation?
I am using rigidbod2D.
What do you mean by setting up my rigidbody?
I currently have interpolation set to none
So I have not completely solved my problem but I did two things that helped. The first one was to parent my character to the falling platform. The second thing was to change the dead zone width and height from 0 to .1.