Teleporting and joints
Posted: Mon Apr 09, 2018 3:11 pm
Hi everyone,
first of all I thank you Norbo for making this great engine!
So, I have a spacecruiser entity and attached to it via RevoluteJoints some turrets. Everything works fine, like in the tank demo. Now for networking the simulation runs on multiple clients and the server sends authorative updates and the clients set the spacecrusiers entity.Position from time to time but not on the turrets. Interpolation happens only on the visuals and it works for the spacecruiser but the turrets seem to lag behind and interpolate til they reach the new goal position. Is there a way to make the turrets snap to the new position or is this the complete wrong way to do position correction?
Thanks in advance to anyone who can help!
first of all I thank you Norbo for making this great engine!
So, I have a spacecruiser entity and attached to it via RevoluteJoints some turrets. Everything works fine, like in the tank demo. Now for networking the simulation runs on multiple clients and the server sends authorative updates and the clients set the spacecrusiers entity.Position from time to time but not on the turrets. Interpolation happens only on the visuals and it works for the spacecruiser but the turrets seem to lag behind and interpolate til they reach the new goal position. Is there a way to make the turrets snap to the new position or is this the complete wrong way to do position correction?
Thanks in advance to anyone who can help!