ldk_grass_interact
Queue one world-space grass interaction capsule for the active GrassSystem. Passing the same point for from and to produces a circular interaction. The queued interaction is consumed by the GrassSystem render update.
LDK_API bool ldk_grass_interact(
Vec3 from,
Vec3 to,
float radius,
float strength
);
Parameters
Vec3 from- World-space start of the interaction segment.
Vec3 to- World-space end of the interaction segment.
float radius- Interaction or geometry radius.
float strength- Strength of the interaction.
Returns
True if the operation succeeds; false otherwise.