Cinemachine Jitter
Asked Answered
P

3

0

I have a pretty basic thirdperson character set up, and for some reason when it is falling, the camera jitters like crazy. the other thing is the camera sort of lags behind the player, which gives it the effect of zooming out when going fast, which I dont want. Anybody have any similar problems or know how to fix it?

video: https://drive.google.com/file/d/1awva93IJpaHQAomh1moLQC-YMSGYrmCg/view?usp=drive_link

Phipps answered 19/7, 2023 at 6:31 Comment(1)

need to authorize access for Video link.

Titanite
P
0

Try these two settings in Cinemachine

  1. In the body component select framing transposer.
  2. Reduce x, y, z damping to 0 in the body component to reduce the delay in follow.
Probability answered 21/7, 2023 at 2:21 Comment(1)

thanks this worked very well

Phipps
B
0

Need access to your video

Billie answered 19/7, 2023 at 12:36 Comment(0)
B
0

Thanks for the video. It looks like FixedUpdate/Update aliasing to me.

  • Can you say something about how you’re moving the player?
  • Does it have a Rigidbody? Is there interpolation enabled on it?
  • How does your code implement movement?
  • What is the Update Method in the CM Brain?

If you’d like to send me the test project, I can take a look at it.

Billie answered 20/7, 2023 at 13:3 Comment(2)

The player is moved using rb.addforce in the update method, with interpolation on the rigidbody, and the update method on the CM Brain is set to Fixed Update.

Phipps

I think this is correct answer. you should put Camera and object moving in same rendering loop. Fixed Update and Update are different loop.

Titanite
P
0

Try these two settings in Cinemachine

  1. In the body component select framing transposer.
  2. Reduce x, y, z damping to 0 in the body component to reduce the delay in follow.
Probability answered 21/7, 2023 at 2:21 Comment(1)

thanks this worked very well

Phipps

© 2022 - 2024 — McMap. All rights reserved.