Don't know fixing collision. It always stuck.

ILikeBalls

Member
everytime the rectangle hit the ball in the left or the right side, the ball stuck and the score goes up rapidly. Is there any tips to fix this problem?

Video:
 
Last edited:

TsukaYuriko

☄️
Forum Staff
Moderator
The best tip you'll get with the information you've provided so far is that you should always post the relevant code when asking for help with code. ;)
 

ILikeBalls

Member
The best tip you'll get with the information you've provided so far is that you should always post the relevant code when asking for help with code. ;)
thank you for the tip. I just use drag and drop, i uploaded the video hoping this can provide something
 

TsukaYuriko

☄️
Forum Staff
Moderator
Whether you use GML or DnD is irrelevant. Posting DnD counts as posting code. :)

Are any of the objects involved here solid? If so, make them not be solid. Otherwise, you're literally instructing the game engine to reset the positions of instances that are involved in a Collision event with solid instances every step until they are no longer colliding. That will essentially halt any movement once they are colliding until they stop moving into each other.
 
Top