We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad6b5d commit 5c216f3Copy full SHA for 5c216f3
1 file changed
filesystem/Games/TestGames/Collision/main.py
@@ -79,7 +79,7 @@ def tick(self, dt):
79
elif engine_io.RB.is_pressed:
80
self.rotation -= 0.0045
81
82
- def collision(self, contact):
+ def on_collide(self, contact):
83
self.count = self.count + 1
84
# print("Collision!", self.count)
85
# Circle2DNode(position=contact.position, radius=1)
0 commit comments