Forum rules - please read before posting.

Player twitches and shakes only when moving horizontally

Hi,
I have an issue with 3D player moving with direct movement with camera following him in top-down style with perspective mode (slightly from front). Player moves with rigidbody, interpolate enabled. Spin and pitch of the camera is locked.
Player is not moving smoothly when moving horizontally left and right, he twitches and shakes instead. Movement in all other directions is perfectly smooth (top, down, diagonal).
I thought it might be a problem with animation but even if I switch it off it doesn't solve the problem.
Now I suspect camera (main or nav_cam). I've noticed that when I change in AC.Camera script:
public override void _Update ()
to
public void FixedUpdate
this helps with horizontal movement but then it breaks other directions (top, down, diagonal).

Can anyone help me understand what is going on and how to fix it?
It's my first 3D game, previously I worked only on 2D games (The Cat Lady).

Comments

  • I'll need to attempt a recreation - what are your AC/Unity versions, and does this occur with the Sample 3D Player, available as a Template in the New Game Wizard?

    If you can share screenshots of the Player's Inspector, your Settings Manager, and the Camera, I'll see if I can spot the issue.

  • You gave me a clue and I compared settings from Demo_SettingsManager with my game settings manager and it was one option that messed with my setup:
    Settings->Movement settings->Turn instantly when under player control
    I deselected it and now it's ok.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.