mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Add flag to enable use of accurate path tangents for polygon rotation in CSGPolygon3D
The new property is called `path_rotation_accurate`.
This commit is contained in:
committed by
Juan Pablo Arce
parent
ce88021aa0
commit
dd7bbcc837
@@ -401,6 +401,7 @@ private:
|
||||
float path_interval;
|
||||
float path_simplify_angle;
|
||||
PathRotation path_rotation;
|
||||
bool path_rotation_accurate;
|
||||
bool path_local;
|
||||
|
||||
Path3D *path = nullptr;
|
||||
@@ -452,6 +453,9 @@ public:
|
||||
void set_path_rotation(PathRotation p_rotation);
|
||||
PathRotation get_path_rotation() const;
|
||||
|
||||
void set_path_rotation_accurate(bool p_enable);
|
||||
bool get_path_rotation_accurate() const;
|
||||
|
||||
void set_path_local(bool p_enable);
|
||||
bool is_path_local() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user