mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 18:32:45 +00:00
remove TODO (i tested it)
This commit is contained in:
parent
daf39d51c0
commit
824fb128f7
@ -10,7 +10,7 @@ namespace QSB.EchoesOfTheEye.RaftSync.TransformSync;
|
|||||||
|
|
||||||
public class RaftTransformSync : UnsectoredRigidbodySync, ILinkedNetworkBehaviour
|
public class RaftTransformSync : UnsectoredRigidbodySync, ILinkedNetworkBehaviour
|
||||||
{
|
{
|
||||||
protected override bool UseInterpolation => Locator.GetPlayerController().GetGroundBody() != AttachedRigidbody; /*TODO: test that this doesnt NRE*/
|
protected override bool UseInterpolation => Locator.GetPlayerController().GetGroundBody() != AttachedRigidbody;
|
||||||
|
|
||||||
private float _lastSetPositionTime;
|
private float _lastSetPositionTime;
|
||||||
private const float ForcePositionAfterTime = 1;
|
private const float ForcePositionAfterTime = 1;
|
||||||
|
@ -98,5 +98,5 @@ public class ShipTransformSync : SectoredRigidbodySync
|
|||||||
rigidbody._currentVelocity = newVelocity;
|
rigidbody._currentVelocity = newVelocity;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool UseInterpolation => !PlayerState.IsInsideShip(); /*TODO: test that this doesnt NRE*/
|
protected override bool UseInterpolation => !PlayerState.IsInsideShip();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user