-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draw_polyline The display intermittently breaks when two points jump too much,but Using draw line will not appear #96573
Comments
Maybe you can condense the MRP just to a few lines to see exactly where the problem lies?
|
game.zip |
i do it that you can see. |
`extends Control func _ready() -> void: func _process(delta: float) -> void: func float_array_to_Vector2Array(arr: Array) -> Array: func _draw() -> void:
|
I see it now. I guess what's happening is that at a certain angle, the line never covers some pixels enough to be drawn (due to floating point errors?). I'm not sure if it is something that is fixable in engine, because it is expected for too thin lines without antialiasing to disappear.
|
Thank you very much. I've tried your method and it works, |
Tested versions
Godot Engine v4.3.stable.
System information
Window10 godot-cpp4.3
Issue description
mark time :01:13:51
Steps to reproduce
Minimal reproduction project (MRP)
src.zip
The text was updated successfully, but these errors were encountered: