Obi Official Forum

Full Version: Moving Fluids
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How might I go about attracting a fluid to a specific point (a controller) and then if that point moves it tracks with the location. 

for context, I'm trying to get a "water bending" effect when an orb is moving telekinetically.

(edit) I realised that does not sound concise at all.
(17-04-2021, 05:11 AM)Lord_Dargon Wrote: [ -> ]How might I go about attracting a fluid to a specific point (a controller) and then if that point moves it tracks with the location. 

for context, I'm trying to get a "water bending" effect when an orb is moving telekinetically.

(edit) I realised that does not sound concise at all.

Hi,

You can use the particles API to get/set particle velocities and positions, and maybe collision callbacks to determine if they're within a trigger. See:
http://obi.virtualmethodstudio.com/tutor...icles.html
http://obi.virtualmethodstudio.com/tutor...sions.html