25-04-2025, 08:25 AM
(This post was last modified: 25-04-2025, 08:27 AM by josemendez.)
(23-04-2025, 02:46 PM)0hsyn1 Wrote: I'm sharing a video, even though I increased the particle frequency, it can pass through when I move it a little faster.
May be tunneling. Set the solver's particleCCD to 1.
(23-04-2025, 02:46 PM)0hsyn1 Wrote: ht now is to reduce the tension of the rope. Sometimes it can be too loose.
Crank up the amount of substeps in your ObiSolver.
(23-04-2025, 02:46 PM)0hsyn1 Wrote: Another thing I want to ask is, can I access the position list of this rope? I will use it as a path to an object
Yes, you can access all particle properties in any actor.
For your purpose however, it's best to grab the position from the path smoother instead of rope particles, since it will give a smooth, continuous position instead of isolated points:
Code:
var smoother = GetComponent<ObiPathSmoother>();
var position = smoother.GetSectionAt(normalizedCoord).position;
normalizedCoord varies from 0 (start of the rope) to 1 (end of the rope). You can see an example implementation of a component that places an object along the rope in Obi/Scripts/RopeAndRod/Utils/ObiRopeAttach.cs
kind regards