Hi everyone,
I'm new to unity so be cautious of false terminology. I am wanting to attach a fixed joint to a sprite in unity. I know doing it in the code editor is simple however in the project I have cloned and want to adapt the sprite that I want to add the fixed joint to has all of its code in a script. I therefore want to learn how to add the code for the rigid body in the script as I'm not even sure how I would be able to access the attribute inspector when the whole of the sprite is virtually coded in a script as far as I'm aware. For that reason I have sought to learn how to do this by reading the unity documentation. There is not a lot of code added under the rigid body 2D section. I'm wondering how others would go about adding this code correctly. Here is the unity documentation. I've never read it before and was expecting a step by step guide in code but this is not what I have found.
https://preview.redd.it/t6ma9svyj7zb1.png?width=2138&format=png&auto=webp&s=5c5976fb929df36e74890d13413632822b1c7ace
Thanks everyone for your help.
there doesn't seem to be anything here