diff --git a/Cargo.toml b/Cargo.toml index f6a30b4892..ad0ca5a293 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3080,7 +3080,7 @@ wasm = true [[example]] name = "smooth_follow" -path = "examples/math/smooth_follow.rs" +path = "examples/movement/smooth_follow.rs" doc-scrape-examples = true [package.metadata.example.smooth_follow] diff --git a/examples/README.md b/examples/README.md index d48f614787..20507cd176 100644 --- a/examples/README.md +++ b/examples/README.md @@ -336,7 +336,7 @@ Example | Description [Random Sampling](../examples/math/random_sampling.rs) | Demonstrates how to sample random points from mathematical primitives [Rendering Primitives](../examples/math/render_primitives.rs) | Shows off rendering for all math primitives as both Meshes and Gizmos [Sampling Primitives](../examples/math/sampling_primitives.rs) | Demonstrates all the primitives which can be sampled. -[Smooth Follow](../examples/math/smooth_follow.rs) | Demonstrates how to make an entity smoothly follow another using interpolation +[Smooth Follow](../examples/movement/smooth_follow.rs) | Demonstrates how to make an entity smoothly follow another using interpolation ## Movement diff --git a/examples/math/smooth_follow.rs b/examples/movement/smooth_follow.rs similarity index 100% rename from examples/math/smooth_follow.rs rename to examples/movement/smooth_follow.rs