Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How keep water in containers?
#1
I want to create a beautiful canister with water. Moving a container, even a closed one, causes fluid loss from it. Is it possible for to store liquid in a container and move it without loss of liquid in Obi fluid?
Reply
#2
(14-02-2019, 03:24 PM)Andrew Wrote: I want to create a beautiful canister with water. Moving a container, even a closed one, causes fluid loss from it. Is it possible for to store liquid in a container and move it without loss of liquid in Obi fluid?

If you move it by changing its transform, you're literally teleporting it from frame to frame. So some frames, you're leaving liquid outside of the container, specially if you move the container fast.

Possible approaches to fixing this are moving the container using forces, or adding the ObiKinematicVelocities component to it so that Obi can calculate velocities/torques by differentiating positions between frames. There's an example of this included, see the FaucetAndBucket sample scene.
Reply