Saving b2PrismaticJoint

Hi,

I'm trying to save/load a b2PrismaticJoint which is in a state where its translation (GetJointTranslation) is not zero.
The problem is that b2PrismaticJoint doesn't have a setter for its translation.
Is there something I'm missing?

Thanks
You can set the local anchor points directly. This defines the joint independent of the current world transforms of the bodies.
Thanks, it worked:

Now calling b2PrismaticJointDef::Initialize(...) and then I explicitly set b2PrismaticJointDef.localAnchorA and b2PrismaticJointDef.localAnchorB

Original thread: https://box2d.org/forum/viewtopic.php?t=5682