Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Varius question's on obiFluid
#8
(06-10-2017, 04:32 PM)Claudio80 Wrote: Thanks for the help, i'm realy near to the end.
BUT i have noticed a strange beavhior, i include a video.

is there any way to avaid that?

video link: https://drive.google.com/file/d/0B09sn0g...sp=sharing

There's no "automagic" way to avoid that. Indeciso

By dragging the container so fast you're basically teleporting it from one frame to the next. There's no way the particles (or anything inside the container for that matter, including rigidbodies) can predict where you're teleporting it next. 

This issue is known as tunneling and is an extremely common problem in video games. It is usually dealt with by limiting the speed at which the user can move things (objects, characters, the bottle in this case, etc). This gives the collision detection engine a chance to detect collisions that would otherwise be impossible to predict.

Ever wondered why there's a terminal velocity in games? (a maximum speed at which you can fall off a ledge), well, this is why. If programmers didn't impose a maximum velocity, the character would go trough the floor upon landing ....and it still happens sometimes, though. Guiño
Reply


Messages In This Thread
Varius question's on obiFluid - by Claudio80 - 29-09-2017, 03:46 PM
RE: Varius question's on obiFluid - by josemendez - 29-09-2017, 04:55 PM
RE: Varius question's on obiFluid - by Claudio80 - 03-10-2017, 08:52 AM
RE: Varius question's on obiFluid - by josemendez - 03-10-2017, 09:06 AM
RE: Varius question's on obiFluid - by Claudio80 - 05-10-2017, 12:46 PM
RE: Varius question's on obiFluid - by josemendez - 05-10-2017, 02:16 PM
RE: Varius question's on obiFluid - by Claudio80 - 06-10-2017, 04:32 PM
RE: Varius question's on obiFluid - by josemendez - 06-10-2017, 04:59 PM