I need add a collider to SpringJoint2D
I have two RigidBody2D objects with collideers connected by a SpringJoint2D. Like so
KEY: () is a circle collider, ---- is the spring.
()-----()
When gravity pulls this object down it is possible for each RigidBody2D to pass either side of another collider in the scenary.
KEY: [] is a box collider
[]
()--[]--()
[]
[]
Is there a wat to make the spring itself a collider (or simulate that) so that this cannot happen? I want the spring to also act like a solid object.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612184616im_/https://answers.unity.com/themes/thub/images/avi.jpg)