|
@@ -247,9 +247,9 @@ namespace Immersal.AR
|
|
|
steps = 6.0f;
|
|
|
float alpha = 1.0f - Mathf.Pow(1.0f - smoothing, steps);
|
|
|
|
|
|
- item.Value.targetRotation = Quaternion.Slerp(item.Value.targetRotation, item.Value.filter.rotation, alpha);
|
|
|
- item.Value.targetPosition = Vector3.Lerp(item.Value.targetPosition, item.Value.filter.position, alpha);
|
|
|
- }
|
|
|
+ item.Value.targetRotation = item.Value.filter.rotation;
|
|
|
+ item.Value.targetPosition = item.Value.filter.position;
|
|
|
+ }
|
|
|
ARSpace.UpdateSpace(item.Value, item.Value.targetPosition, item.Value.targetRotation);
|
|
|
}
|
|
|
}
|