11 lines
283 B
GDScript
11 lines
283 B
GDScript
extends StaticBody2D
|
|
|
|
#func _on_ball_shape_entered(body_rid, body, body_shape_index, local_shape_index):
|
|
#print("FUCK YES")
|
|
#body.has_collided()
|
|
#match self.shape_owner_get_owner(local_shape_index).boundary_invert_axis:
|
|
#0: # x
|
|
#body.invert_x()
|
|
#1: # y
|
|
#body.invert_y()
|