6 lines
155 B
GDScript
6 lines
155 B
GDScript
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
|