14-02-2019, 04:20 PM
(This post was last modified: 14-02-2019, 04:21 PM by josemendez.)
(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.