03-06-2020, 04:38 PM
(This post was last modified: 03-06-2020, 04:42 PM by josemendez.)
(03-06-2020, 04:12 PM)davidsedrakyan Wrote: Yeah, there is 2 points on my rope, I need rotation of point which is connected with my character
There is example on Obi Rope Plugin, where character hangs with rome, called Rope Grappling Hook, but in that example character is not rotating when rope end rotates.
There's two control points in the rope spline, but the actual rope is made of many more points. It would just be a straight line otherwise, since that's the only shape defined by just two points. You can add a ObiParticleRenderer component to it to actually see all "points" (particles) that make up the rope.
The method outlined in the above link takes a normalized coordinate as input: 0 for one end of the rope, 1 for the opposite end, any value in-between for all other points in the rope.