Wires in godot(3D)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kuza14.games

Good afternoon, sorry for my English. I need to make wires between posts as in a satisfactory. Thank you in advance.

:bust_in_silhouette: Reply From: rakkarage

draw_line(touch.start, touch.p, _colorB, 2)

func _draw():
	if _alt:
		for touch in _touch:
			if touch.state:
				draw_circle(touch.p, 16, _colorC )
				draw_circle(touch.start, 16, _colorA)
				draw_line(touch.start, touch.p, _colorB, 2)
				draw_arc(touch.start, touch.start.distance_to(touch.p), 0, TAU, 32, _colorC, 2)

Hello, i need info about 3D, thanks

kuza14.games | 2020-06-22 05:24

Thank you for help!

kuza14.games | 2020-06-23 04:10