Hi guys,
I'm making a sticky mine that should attach itself to the enemy, but it doesn't quite work as intended, so i'd like some help if someone did this before. This is the setup:
Nothing too fancy, when the mine hits the player, the movement is disabled, i get the FixedJoint2D component and the rigidbody of the object the mine hit, and then set the connected property of the fixed joint to the hit object's rigidbody.
As you can see, everything looks fine, but the mine is not moving along with the enemy. Any ideas what's the proper setup?
Edit: Btw, i don't know if it matters, bodies are kinematic/simulated and move without physics.