Replies: 1 comment
-
|
Thanks a lot |
Beta Was this translation helpful? Give feedback.
0 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.
-
I saw your comment in ofApp.cpp about bouncing off the edges which needs to be fixed.

I've written the app in GO and this fixes it:

Just don't check for < 0 and > max in single if.
If < 0, set position to 0, reverse velocity
If > max, set position to max, reverse velocity
Beta Was this translation helpful? Give feedback.
All reactions