extends RigidBody2D
func shoot_at_mouse_5_up(start_pos):
self.global_position = start_pos
var direction = (player.position - start_pos).normalized()
self.linear_velocity = direction * speed
How could I solve it? Is it possible to solve with an integer value? If it is, how could I convert global.position rounding a integer value?