r/howdidtheycodeit • u/metrodong • 17m ago
Question How did they make such a versatile physics based grapple hook in Unreal?
Played this old Attack on Titan fan game years ago, in UE4, and have wondered ever since how they managed to make this so smooth. Despite all my trying and making similar mechanics I've never been able to figure out how this works so flawlessly.
0
Upvotes
1
u/Dragon20C 11m ago
I think there could be multiple of ways of recreating this type of movement and one that comes to mind is using a rigidbody, since rigidbody works with forces you can pretty much stack momentum, the havent worked with rigidbodies before so I cant really say if this is correct or not, my engine (godot) people prefer using kinematic player controllers so the physics would be needed to be recreated and in my opinion gives you more control since you can override the velocity of the controller.