1
0
Fork 0
1bit-godot-course/metroidvania/DebugKinematicBody2D.gd

7 lines
155 B
GDScript3
Raw Normal View History

2021-01-26 22:04:34 +00:00
extends Line2D
func _physics_process(delta):
var parent = get_parent()
$Motion.points[1].x = parent.motion.x/4
$Motion.points[1].y = parent.motion.y/4