Smooth Sync: Sync your Transforms Smoothly across the network

@ATHIEK
If you only need Velocity, I believe the easiest way would be to pass it over as scale since then it won’t matter if you are syncing anything else and scale is probably not being used by you.

Change getScale() to instead get your Movement Component’s velocity. Then comment out the one setScale() call (and that whole section really). Then it will be received as scale in SmoothSync. You can get the targetState’s scale at the end of interpolate() as the currently used State so that the movement lines up with your exact Movement Component velocity.

I’m unfamiliar with movement components, but they don’t have primitive components right? If you need more than velocity, let me know what you’d need and I can take a look at highjacking velocity and angular velocity to being something else when not having primitive components and having a movement component probably.

Let me know if I misinterpreted the issue too, I just got off work so my brain is a bit fried.