like wind wave on grasses[
How to make wind for effecting plants by physics
To create a wind effect on plants using physics in Spine, you can utilize the physics constraints feature to simulate wind and gravity. You can set the wind and gravity values directly on the physics constraints to achieve the desired effect. By keying these values, you can modulate them to create a dynamic wind effect. Additionally, you can write code at runtime to control the wind, providing a more random and natural behavior. For a more organic feel, consider slightly varying the apex of your curves so that each bone has different values and spacing, which can enhance the realism of the wind effect.
For more detailed guidance, you might find it helpful to watch tutorials or explore examples of similar effects, such as the windmill tutorial or the Wave principle video.
Spinebot so we do not have the feature global wind ?
We do, check the "global" icon next to wind:
All physics constraints with that checked will use the same timeline. This works will if you have a single set of physics constraints to key together. If you have multiple sets of physics constraints that you want to key differently, you'll have to key the wind for them separately (or use global for one set and key the other set separately).
Nate Do I have to set the wind value one by one to achieve the affect in game engine like Unity or Godot ?
suanLoBeach You can set the wind value on the physics constraints directly at runtime. If you keyed the wind to the physics constraints, you'd have to change the values after you applied animations.
If you'd rather use an animation, you'd have to create a new animation and timelines, or dig through an existing animation's timelines to find the wind timeline, then you can change the keyed values, add/delete keys, etc. on the wind timeline.
You might want to check out Nate's answer to a question from a user who tried to do something similar with Unity in the past:
https://esotericsoftware.com/forum/d/25363-spine-42-physics-general-questions/12
Misaki I do not find out the options about physcis on inspector, so How can I set those keys or value ?