mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
A bunch of renames for Godot 4.0
This commit is contained in:
@@ -193,7 +193,7 @@ Curve2D, Curve3D, Path and Path2D
|
||||
|
||||
There are two objects that contain curves: :ref:`Curve3D <class_Curve3D>` and :ref:`Curve2D <class_Curve2D>` (for 3D and 2D respectively).
|
||||
|
||||
They can contain several points, allowing for longer paths. It is also possible to set them to nodes: :ref:`Path <class_Path>` and :ref:`Path2D <class_Path2D>` (also for 3D and 2D respectively):
|
||||
They can contain several points, allowing for longer paths. It is also possible to set them to nodes: :ref:`Path3D <class_Path3D>` and :ref:`Path2D <class_Path2D>` (also for 3D and 2D respectively):
|
||||
|
||||
.. image:: img/bezier_path_2d.png
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ Using the following pseudocode:
|
||||
|
||||
Position3D p1 = GetNode<Position3D>("Position1");
|
||||
Position3D p2 = GetNode<Position3D>("Position2");
|
||||
CSGMesh monkey = GetNode<CSGMesh>("Monkey");
|
||||
CSGMesh3D monkey = GetNode<CSGMesh3D>("Monkey");
|
||||
|
||||
monkey.Transform = p1.Transform.InterpolateWith(p2.Transform, _t);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user