forked from bevyengine/bevy-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial release notes for the Cubic Splines overhaul PR.
- Loading branch information
1 parent
652401a
commit 72cd46a
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
release-content/0.14/release-notes/10701_Cubic_splines_overhaul.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
TODO | ||
The splines module in bevy has been lacking some features for a long time. Splines are extremely useful in game development, so improving them would improve everything that uses them. | ||
|
||
The biggest addition is NURBS suport! It is a variant of a B-Spline with much more parameters that can be tweaked to create specific curve shapes. | ||
|
||
We also added a LinearSpline, which can be used to put straight line segments in a CubicCurve, which now acts as a sequence of cure segments, so you can mix various spline types together to form a single path. | ||
|
||
And as a small improvement, the Point trait has been implemenetd for Quaternions and 4-dimensional Vectors. This trait is implemented for types that can be used in cubic curves, so now you have more types that can be used. For example, you can use the 4th element of a Vec4 to store tilt along the path on the curve. |