How to make Basket Ring With Physics?

Hi, i am trying to prototype basketball game but distance joint is not working as i expected, i want 2 sprite move together when ball hit one of them


joints1

Hi,
You need to describe better the expected result and the actual result, because I’m not sure what you mean.
If you want the sprites to move together, why not use the weld joint?

If you want more details about physics joints, there are a few example projects you can take a look at.

1 Like

Thanks for answer,i used weld joint but still its not moves like steel its more like jellybon. sorry for description. i checked that example but didnt able to find what i am looking for

(sorry for notes, its written with mosue) + to this bar should go back to original position after ball leave colliding with it (its 2d game we are just seeing side view)

OK, I understand better now. :+1:
There are plenty of settings that you need to adjust depending on the desired effect. Don’t leave the fields empty, try small values and try huge values, see if that helps (or read the wiki).
If you want the bar to go back to its original position, I think you’ll need another joint with a third invisible object… a prismatic joint, probably.
Again, check the documentation and the examples.

1 Like