"Cork-Gun" with traceable projectile path

I’m hoping to make a cork-gun for a game I’m working on:

0027c61b3415616e1e6c254477955c38bc1e95c7.jpeg

There are enough projectile tutorials out there that I believe I’ll be fine with creating the projectile, and limiting it to X distance. Although I’m wondering if anyone has any good ideas for tracing a visual path of the projectile(the string attached to the cork), applying gravity to it, and then returning it to the gun. I was originally planning to only handle a 1st person view for this action, but eventually I’d like to make it first person or third. Any suggestions?

Thanks!

Hi,

Just a thought out of the blue:
Model the gun plus projectile and string in a 3d app. make the string a simulated piece of cloth. Then you should be able to have it correctly dangling from the gun after the shot and the string would limit the movement range ofd the corc (not sure how to do, not that kind of an expert with rigged animations yet)…

Cheers,
klaus

You should try to mess with the blueprint cables. Create a cable, attach one end in BP to your cork and one end to the gun. Apply force to the cork and the cable should limit its distance and snap it back.