Help with physics constraints

Hey everyone! I’m trying to make a grapple hook for my project. The goal is to have the player click where they want a grapple to spawn, and at which point the player character should be unable to move further away, but can move closer. I think that I should be able to do this with a physics constraint and linear limits, but I’m running into an issue with the blueprints. If I try to set the linear limits of the physics constraint in the event graph, it encounters errors unless I attach something to the “accessor” node. I can’t seem to find out what this is. Seems to be a struct reference, but I don’t know what I’m supposed to plug into it to fix it. I tried the “Create ConstraintInstanceAccessor” node hoping that would solve my issue but it doesn’t appear to do anything.

Any help would be greatly appreciated!

Hey @binetti! Welcome to the forums!

Would you mind sharing what you have so far so we can get a better understanding of your current approach? Screenshots or links that show your blueprints would be ideal, as well as any error messages that you have if there are any.

Any additional specifics or information you provide may go a long way in solving your problem!

Hey, thanks for the reply, I think I figured it out; I had to use the “Get Constraint” node, pulled from the component reference.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.