I have a particular GameObject with Rigidbody which I'm trying to move over time. If I move the object using its
transform.position, it works fine. However, if I move the object using
rigidbody.MovePosition(), it does not move as expected. It should be moving up and forward (+Y and +Z). Instead, it oscillates up and down but does not move on the X or Z axis.
I do not have any constraints enabled on the Rigidbody, and I can't find anywhere in my code that would freeze or alter its position, besides the line of code that's supposed to move it, and its behavior is the same whether or not gravity or colliders are enabled.
Is there some way to view a list of inputs that are affecting the position and movement of a particular Rigidbody each frame?