Learn how to programmatically draw 3D lines and points in Godot!
Points in 3D are easy, they're just a sphere mesh. Lines are a bit harder though. They require an immediate mesh, which is specifically designed for programmatically creating custom geometry.
The Draw3D script should work in Godot 3 or 4, but the demo will only work in Godot 4.
https://github.com/Ryan-Mirch/Line-an...
0:00 - Intro
0:14 - Autoload Script
0:43 - 3D Point Drawing
2:45 - 3D Line Drawing
4:51 - Outro
LINKS
Join! | https://www.youtube.com/aecertgaming/...
Discord | / discord
Twitter | / aecertgaming
Contact | Commission | Consultation | https://aecertgaming.com/contact/