Hi, let’s see if someone can help me solve this puzzle ![]()
I have a character that moves in Update with CharacterController.Move function. This character has a child camera that rotates in Update as well (we’re talking about a first person perspective). This works fine and smooth.
The problem comes when I try to move other entities with FixedUpdate. For example, an enemy following the player with RigidBody.MovePosition. In this case, the enemy jitters in front of the camera if the camera is rotating and the enemy is moving at the same time.
Should I move my player/camera move/rotation code to FixedUpdate too?