Answers for "godot wireframe view in game"

0

godot wireframe view in game

func _init():
	VisualServer.set_debug_generate_wireframes(true)



func _input(event):
			
	if event is InputEventKey and Input.is_key_pressed(KEY_P):
		var vp = get_viewport()
		vp.debug_draw = (vp.debug_draw + 1 ) % 4
Posted by: Guest on March-13-2021

Browse Popular Code Answers by Language