Hi, for a bit of background I’m trying to make a swinging/grappling game in UE5, and after trying out a couple of approaches (namely adding force to the character movement component using physics equations) I settled with trying to make physics constraints my swing simulation method of choice. So far I’ve gotten everything to work with them, except creating a ‘Reel in Mechanic’. After a couple days troubleshooting and understanding my problem, I finally realized it was because the physics constraint effectively “Snapshots” the linear limit of 0 at whatever distance away the constraint is from the player.
To be more specific, basically its that the initial distance between the physics constraint and the actor/mesh it constrains it considers a linear limit of ‘0’. So adding a linear limit on top of that just ends up adding slack, and I cannot reel any closer than I initially was to the physics constraint. Heres a link to an image that I hope explains the problem a bit better Imgur: The magic of the Internet .
I’ve tried all manner of workarounds, spawning it it, setting the limit then teleporting it to the grapple point, the opposite, etc… But cannot for the life of me get it to work. This is esp frustrating because other than this everything else is pretty solid and its the one major thing screwing me over rn. So if anyone has any suggestions on some way to let me “reel” my character in closer than 0, or maybe have the linear limit actually set itself properly please let me know!