04-07-2024, 10:39 AM
Hello! I am using ObiRope to simulate fishing rod with reel.
What i have:
1. Cursor to resize my rope when the player reel in.
2. Hook. Just rigidbody attached dynamically with ObiParticleAttachment at the end of the rope. Static attachment at the fishing rod top point.
I apply force to fishing hook when player cast or fish move with hook. After that my rope will be stretched and i want to prevent this by giving extra length. How can i get the speed of first 1-2 rope particle point and also tension force? How can I compare the current rope tension with the tension at rest? I need these values to calculate resize speed and make more realistic fishing rod behaviour. Or maybe there is other solution for my case?
Thanks for your advices!
What i have:
1. Cursor to resize my rope when the player reel in.
2. Hook. Just rigidbody attached dynamically with ObiParticleAttachment at the end of the rope. Static attachment at the fishing rod top point.
I apply force to fishing hook when player cast or fish move with hook. After that my rope will be stretched and i want to prevent this by giving extra length. How can i get the speed of first 1-2 rope particle point and also tension force? How can I compare the current rope tension with the tension at rest? I need these values to calculate resize speed and make more realistic fishing rod behaviour. Or maybe there is other solution for my case?
Thanks for your advices!