I'm posting this here, not because it's relevant to the original post, but because it fits the subject. This is most probably a beginner question.
I have been trying to implement the FixedAngleSpring example as part of an ongoing integration with TorqueX. I need to understand the moving parts. It seems that there are 2 bodies involved. The circle portion in the example and the flexible
I read this in the docs on the description here:
The white element in the middle functions just like a springboard. The angle spring is of fixed type. This means that it's attached to the "world". A revolute joint is used to pin the spring board to the world so that it
stays in the same position, but still allow it to rotate around the pivot point.
So how many bodies, geoms, joints, and springs must come together to make this happen?
It looks like the circle is one body with a fixed revolute joint attached. This would allow it to spin 360 degrees while remaining fixed. I don't know if this body needs a geom.
It looks like the rectangle is a separate body (and appears to have a geom as well).
After this, things get hazy. I don't know how/if the rectangle body attaches to the circular body. Is this another revolute joint? Is it anchored at the left edge of the rectangle? Also the spring is fixed, but I don't know how to set its anchor position.
Even though the docs say the springs have an Anchor1 and Anchor2 property, they don't appear to actually have one. If they do, its under a different name, and for the fixed angle spring, I couldn't figure it out.
Any help would be appreciated...