Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Force Zone not working
#1
Hi. So I been trying to have a fluid floating around the player by setting the gravity of the solver to 0, also, to cover the player collider shape, I attached a force zone to it. The problem its that it is not working at all and it is showing a message in the force zone component "Error: Could not retrieve a property". However, I´m attaching a video to this post to show you the set up of all the stuff.

For clearance, the buyoancy from the liquid blueprint is set to 0.

https://youtu.be/PD8gLi1eC-Y (uploaded on youtube because of the page did not accept an attachement directly in the post).
Reply
#2
(22-08-2025, 12:25 PM)OneGuyProd Wrote: Hi. So I been trying to have a fluid floating around the player by setting the gravity of the solver to 0, also, to cover the player collider shape, I attached a force zone to it.

Hi,

That's not how force zones work: force zones only affect particles inside of them, which in your case means fluid needs to be inside the player for the force zone to do anything at all.

Your force zone is also set to radial, which means it will apply a force away from the surface of the collider and towards its center. So instead of floating around the player, all fluid emitted inside the box will clump at its center - which is the behavior shown in the video.

If you want the fluid to orbit around the player, use a spherical force zone set to vortex mode, that encompasses the orbiting area (which I think should be considerably larger than the player). You could use additional force zones to control how close the fluid is allowed to get to the player, and how fast it should orbit.

let me know if I can be of further help,

kind regards
Reply
#3
I tried that setup and the result is shown in this video: https://youtu.be/mVxphj-gdIE

The emitter is inside the collider of the force zone, the force zone is setted to "Vortex" and the collider to follow for the force zone is bigger than the player itself
Reply