Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rope Sway in Wind
#2
(19-09-2026, 06:06 AM)Skotty Wrote: If I want some sort of simulated wind turbulence where the rope keeps moving, do I:

1)  Adjust the settings somehow for that?  If so, what's the trick?
2)  Use a script, get the Obi Solver component at runtime, and dynamically manipulate the Ambient Wind value (assuming it's accessible)?

Hi!

Yes, that's the way you do it: modify the ambient wind direction/intensity in a script, feeding it somewhat random values. You can access it as simply solver.ambientWind (see the API docs for reference)

(19-09-2026, 06:06 AM)Skotty Wrote: 3)  Use a script, dynamically manipulate some control points at runtime to simulate the effect.

Control points have nothing to do with wind. They control the initial amount of particles/constraints in the rope as well as their placement - in other words, the length and shape of the rope. You should not modify control points at runtime as doing so triggers a re-generation of the entire rope from scratch, which is rather costly.

(19-09-2026, 06:06 AM)Skotty Wrote: 4)  Something else.

Force zones are a simple way of modifying the shape/intensity of wind. I addition to confining wind to a spatial area (as opposed to constant wind everywhere, like ambient wind does) they also have pulse intensity/frequency controls that allow you to simulate varying wind intensity.

kind regards,
Reply


Messages In This Thread
Rope Sway in Wind - by Skotty - 19-09-2026, 06:06 AM
RE: Rope Sway in Wind - by josemendez - 20-09-2026, 08:18 AM