playMaker

Author Topic: [SOLVED] Camera stutter when using rigidbody controller  (Read 954 times)

Blumenth4l

  • Playmaker Newbie
  • *
  • Posts: 1
[SOLVED] Camera stutter when using rigidbody controller
« on: April 29, 2022, 11:28:19 PM »
I have a very simple first-person movement FSM set up using a rigidbody and set velocity. When moving around, especially when turning + moving, the screen jitters with afterimages. when using translate instead of set velocity the camera is perfectly smooth.
I have tried interpolation with no effect. I also read that putting all physics actions in fixedupdate and camera/input functions to lateupdate could help but the actions I use don't allow me to specify that. Any advice is appreciated.

check the included files for my FSMs

EDIT: So I discovered that artificially rotating the rigidbody (not using torque) was causing the issue, so I had the look input only control the camera and made the movement vector relative to the camera so that the rigidbody could move without having to turn.
« Last Edit: April 30, 2022, 11:30:24 PM by Blumenth4l »