Hello,
I'm using a 2d camera to follow the player and when the camera's follow speed parameter is set to 2 or greater (but less than 200) and when my player's
Move with Rigidbody 2D field is checked, my player is shaking when moving. Unchecking "Move with Rigidbody 2D" helps, but I need it enabled.
Here's a gif of the problem:
https://imgur.com/eZeNjlhHope you can recreate the bug.
Comments
When you enable Rigidbody movement, a message should appear recommending that you enable Interpolation on your Rigidbody. What is your Rigidbody's Interpolation value set to, and can you share a screenshot of your Player's full Inspector?
It also looks like your player's sprite is not correctly positioned - the character seems to flip position when turning. Is the sprite child placed at (0,0,0)?
https://imgur.com/a/TsXLy
The bug is much better visible in a standalone build and it sometimes doesn't appear in the game tab in the Unity editor.
My Unity version is 5.6.4.
Thanks in advance for any thoughts!
If so, this is likely a physics issue and one more to do with Unity than AC. Since you're moving the character very quickly, you can try lowering the Fixed Timestep value (under Edit -> Project settings -> Time) to compensate. Be sure to also enable Interpolation when testing with Brain2D.
Thanks a lot, Chris!