Answer the question
In order to leave comments, you need to log in
How to make the ball bounce off the button?
There is a page
click.konstantintv.ru
on which the ball moves, how to make it bounce not only from the walls of the viewport but also from the button, I tried to add to the conditions for choosing the trajectory depending on the distance between the ball and the button, but this did not affect
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question