As seen in the picture (I shared it before), when I enter the value I obtained into "M" in the ObiRopeAttach script, the red object remains where it is seen, the area I want is the blue area, that is, the point of contact (it can be any place in contact).
If I can get this "M" value right, I want to make a gameObject move from that point to the end of the rope.
Reset code;
Code:
[SerializeField] ObiRope rope;
[SerializeField] ObiRopeBlueprint blueprint;
[SerializeField] ObiRopeExtrudedRenderer ropeRenderer;
[SerializeField] ObiRopeCursor cursor;
public void RopeReset()
{
rope.ropeBlueprint = blueprint;
ropeEnd.transform.position = ropeEndStartPos;
}