13-01-2025, 09:02 AM
(This post was last modified: 13-01-2025, 09:02 AM by josemendez.)
(13-01-2025, 08:41 AM)Zavhoz Wrote: Hi!
Please tell me how move selected particle in actor from script.
The general task is: after touching, i find the particle that was touched and move it with my finger. as a result, the liquid should follow the finger. All process in 2D space.
Thanks.
Hi,
You can both read and write any particle properties (positions, velocities, etc) using the particles API. See the manual, it explains how to use it together with code examples:
http://obi.virtualmethodstudio.com/manua...icles.html
Note that directly setting particle properties isn't the only way to achieve what you want. You could also use either colliders or force zones.
kind regards,