Swing with physics constraint but lock rotation,

Hey I am working on a grappling hook mechanic in my game, and am struggling with the last step. Currently you are able to swing successfully, however this is only able to work, when the rotation is locked. This causes an issue with the rest of the game. So I am wondering if it is possible to make use of the physics constraint while keeping the rotation of the actor locked.,