Render Transform Rotation not being set?

Options
I am using a Render Transform, set via the third parameter in the SetTransforms overload
state.SetTransforms(NetworkTransform transform, Transform simulate, Transform render);

The position of the Render Transform is being set correctly but the Rotation is never set. I don't have access to the source code (anymore) so I can't be 100% certain but looking at the decompiled source it looks like the interpolation code is either commented out or was never implemented.



(I had to do the source as an image as the code rendering in this doesn't seem to handle new lines very well)

Is anyone using the rotation of a Render Transform successfully?

Comments

  • Braaad
    Braaad
    edited July 2017
    Options
    I have fixed this temporarily by grabbing the RenderDoubleBufferRotation with reflection (it's marked as internal), caching the FieldInfo and getting the Previous value each frame to calculate the render rotation.