Hey all!
I’m working on a networking interpolation implementation, and i’ve found that the best way to do it is to move the objects using the original networking plugins, and saving the last and new position etc…
However, i cannot think of how to extrapolate ORIENTATION
To extrapolate position, just use interpolation to determine the displacement in one second, then add that to the position * by time since latest packet.
However, orientation i know nothing of. I have read slew for interpolation, but i don’t know how to combine this with extrapolating.
Could anyone post a code snippet, assuming i have Rotation 1 in EULER (but i can convert to QUATERNION) and Rotation 2 in EULER (Same again), Time between packets and time since last packet?
Thanks