I print actor’s rotation before and after add actor local rotation and the delta rotation I added.
I got a wrong number on pitch. I added 0 on pitch. But it always change a little bit on pitch. How to fix it?
Try removing the connection from pitch in make rotator and see if you still get those results. If you don’t, it’s either pitch speed or whatever pitch speed multiplies with.
pitch is always 0. I have printed the delta rotation in middle of the rotation before and after add rotation. P=0.000000 Y=-179.908783 R=0.002523 the rotation before add actor local location P=0.000000 Y=0.190325 R=0.007987 the delta rotation P=-0.000007 Y=-179.718460 R=0.010510 the rotation after add actor local location
you can see there is a strange result on pitch.
I think this might actually be a bug - if nothing is connected into Pitch, then the value shouldn’t change. The values you have posted also seem to be big to be inaccuracies for 32-bit float. I would change the section for this to the Bug Reports section.