21-02-2019, 10:14 AM
(21-02-2019, 09:43 AM)josemendez Wrote: You could do this in several ways.
Using stitch constraints to attach the last particle or the rod to the first particle of the rope is a possibility, however this would add an additional constraint between both particles that would not look very good when swinging at high speeds.
Another (better) possibility is to position the rope transform at the end of the rod every physics step, by copying the particle's position/orientation to the rope's transform. You can get particle properties such as positions and orientations quite easily:
http://obi.virtualmethodstudio.com/tutor...icles.html
Is there a way for the rod to get impulses from the rope as well? Is this what the stitcher does? It seems like with the physics step scripting approach, it's more just matching the rope's position to the rod. Ideally though, if there's weight at the end of the line (fish!) then the rope would tighten up and the rod would bend in response.