Translate FluidVolume
Posted: Sun Oct 10, 2010 6:53 pm
Hello,
I'm using the FluidVolume for the first time and have a question.
I'd like to continuously raise the water level after my FluidVolume is created and added to the physic system. During my update method I tried to set the fluid's position property and to manipulate its bounding box without success. I even tried to transform the fluid’s triangle vertices and reassign them but that didn't work either.
I ended up deleting the fluid and creating a new one with different parameters during each update cycle. I'm aware that this is not an optimal approach. How is this done better?
I'm using the FluidVolume for the first time and have a question.
I'd like to continuously raise the water level after my FluidVolume is created and added to the physic system. During my update method I tried to set the fluid's position property and to manipulate its bounding box without success. I even tried to transform the fluid’s triangle vertices and reassign them but that didn't work either.
I ended up deleting the fluid and creating a new one with different parameters during each update cycle. I'm aware that this is not an optimal approach. How is this done better?