FuncIt/Pavels/bullet_trajectory/Mob.gd
Moonshrike 2741c1e314 commit
2021-10-29 22:47:20 +03:00

11 lines
133 B
GDScript

extends KinematicBody2D
var velocity = Vector2(1, 1)
func _process(delta):
var collision = move_and_collide(velocity * delta)