How to check for collision with widget offsets? #4065
Unanswered
TomJGooding
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
I'm assuming this is for a game? I'd probably implement your own collision detection. The code in geometry.py will get you part of the way there... |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure I am missing something obvious, but how would you check for collisions when setting widget offsets?
Here's a simple example where the falling bars should stack on top of each other when they fall. I've tried
get_widget_atand other methods but I can't seem to get this to work. Thanks in advance for any advice!Beta Was this translation helpful? Give feedback.
All reactions