Skip to content

Commit 5c216f3

Browse files
committed
Fix collision test
1 parent 9ad6b5d commit 5c216f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • filesystem/Games/TestGames/Collision

filesystem/Games/TestGames/Collision/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def tick(self, dt):
7979
elif engine_io.RB.is_pressed:
8080
self.rotation -= 0.0045
8181

82-
def collision(self, contact):
82+
def on_collide(self, contact):
8383
self.count = self.count + 1
8484
# print("Collision!", self.count)
8585
# Circle2DNode(position=contact.position, radius=1)

0 commit comments

Comments
 (0)