I am working on an entity that functions in a similar way to the arrow. its a projectile that flies in a straight line and gets stuck in blocks / entities. It renders as an item that is oriented in the way the projectile is going.
This all works as expected, but sometimes when I summon my entity it glitches around: The rotation yaw and pitch just randomly change to other values for like one render tick and then change back. I'm pretty sure Ive got all the partialTicks interpolation right, and the values for rotationyaw/pitch are correct at the end of the entity tick on both client and serve