aboutsummaryrefslogtreecommitdiff
path: root/JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2022-07-02 18:23:46 +0800
committerchai <chaifix@163.com>2022-07-02 18:23:46 +0800
commitf0f1d830651f3737030e258dc86b42a37baa1bca (patch)
tree386946c608ec02094c81253872e890615e0c3807 /JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md
parente7e9156b0e4d180f8f9e291eb5ccfb08847e6269 (diff)
* change directory
Diffstat (limited to 'JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md')
-rw-r--r--JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md b/JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md
deleted file mode 100644
index 016072b..0000000
--- a/JamHelper/Assets/JamUtils/Scripts/Smooth-Motion-in-Unity/README.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Smooth Motion in Unity (refactored)
-
-This is an improved (refactored) version of the code from the ["Timesteps and Achieving Smooth Motion in Unity"](https://www.kinematicsoup.com/news/2016/8/9/rrypp5tkubynjwxhxjzd42s3o034o8?utm_source=youtube&utm_type=SMVideo) article.
-
-Now, there are only 2 components instead of original 3:
-
-1. [`InterpolationFactorController`](https://github.com/DevelAx/Smooth-Motion-in-Unity/blob/master/InterpolationFactorController.cs) a singleton scene component (the original name was `InterpolationController`) that calculates the current *interpolation factor*.
-2. [`InterpolationObjectController`](https://github.com/DevelAx/Smooth-Motion-in-Unity/blob/master/InterpolationObjectController.cs) a component for a moving object (the original name was `InterpolatedTransform`) which calculates the current interpolation for the object in the `Update()` method before it's being rendered and then restores its original `transform` values for the next `FixedUpdate()` call.
-3. The `InterpolatedTransformUpdater` component was removed as unnecessary.
-
-## Remarks
-For these scripts to work correctly the user's script must change the object's `transform` only in the `FixedUpdate()` method. When teleporting the object the user should call the (`InterpolationObjectController`).`ResetTransforms()` method after it.