1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Path3D prefer control points for outward curve

This commit is contained in:
dugramen
2025-03-12 19:32:25 -04:00
parent 30bb49ec1f
commit 8bef789ca6
2 changed files with 32 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ class Path3DGizmo : public EditorNode3DGizmo {
mutable float orig_out_length;
mutable float disk_size = 0.8;
// Index that should have swapped control points for achieving an outwards curve.
int swapped_control_points_idx = -1;
bool control_points_overlapped = false;
// Cache information of secondary handles.
Vector<HandleInfo> _secondary_handles_info;