mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
cleanup
This commit is contained in:
parent
51947ba9b5
commit
6e71c5e918
@ -175,8 +175,6 @@ bool Changed(Vector3 currentPosition, Quaternion currentRotation)//, Vector3 cur
|
|||||||
{
|
{
|
||||||
float positionDelta = Vector3.Distance(currentPosition, lastSerializedBaselinePosition);
|
float positionDelta = Vector3.Distance(currentPosition, lastSerializedBaselinePosition);
|
||||||
if (positionDelta >= positionSensitivity)
|
if (positionDelta >= positionSensitivity)
|
||||||
// float positionChange = (currentPosition - lastPosition).sqrMagnitude;
|
|
||||||
// if (positionChange >= positionPrecisionSqr)
|
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user