[STORM-175] Fix Ping Interpolate Object Position
parent
fbffeea75b
commit
5215bf9925
|
|
@ -645,6 +645,7 @@ Teardrops Fall
|
||||||
Techwolf Lupindo
|
Techwolf Lupindo
|
||||||
SNOW-92
|
SNOW-92
|
||||||
SNOW-649
|
SNOW-649
|
||||||
|
SNOW-687
|
||||||
SNOW-680
|
SNOW-680
|
||||||
SNOW-681
|
SNOW-681
|
||||||
SNOW-690
|
SNOW-690
|
||||||
|
|
@ -655,6 +656,7 @@ Tharax Ferraris
|
||||||
VWR-605
|
VWR-605
|
||||||
Thickbrick Sleaford
|
Thickbrick Sleaford
|
||||||
SNOW-207
|
SNOW-207
|
||||||
|
SNOW-390
|
||||||
SNOW-421
|
SNOW-421
|
||||||
SNOW-462
|
SNOW-462
|
||||||
SNOW-586
|
SNOW-586
|
||||||
|
|
|
||||||
|
|
@ -1844,7 +1844,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
|
||||||
if (cdp)
|
if (cdp)
|
||||||
{
|
{
|
||||||
F32 ping_delay = 0.5f * mTimeDilation * ( ((F32)cdp->getPingDelay()) * 0.001f + gFrameDTClamped);
|
F32 ping_delay = 0.5f * mTimeDilation * ( ((F32)cdp->getPingDelay()) * 0.001f + gFrameDTClamped);
|
||||||
LLVector3 diff = getVelocity() * (0.5f*mTimeDilation*(gFrameDTClamped + ((F32)ping_delay)*0.001f));
|
LLVector3 diff = getVelocity() * ping_delay;
|
||||||
new_pos_parent += diff;
|
new_pos_parent += diff;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue