Bottles with Liquid (VRChat Prefab)
Bottles with simulated liquid inside.
Liquid physics!
Volume distribution*!
PBR textures!
Customizable colors!
Accurate colliders!
Believable bottle physics!
UV'd so you can add your own custom labels!
12oz bottle: 922 tris | 3 materials | 2 primitive colliders
1 Liter bottle: 472 tris | 2 materials | 2 box colliders
What comes in the zip file:
The Readme file
The .blend file
.png, .psd and .xcf export of the UVs and textures (so you can make your own custom labels!)
The Unitypackage (which includes):
The prefab, all set up
A scene to test the prefab
The FBX model
PBR textures for the bottle and cap
Noise textures for the liquid (you can make your own in Blender using the noise texture)
The liquid shader and C# script (by Minions Art https://www.patreon.com/posts/quick-game-art-18245226 )
The script was optimized for Udon by Akalink.
Note: This system requires UdonSharp, a tool developed by Merlin for C# coding within Udon. You can find it at this link.
https://github.com/Merlin-san/UdonSharp
For those interested in testing the system out yourself, here is the example scene.
https://vrchat.com/home/launch?worldId=wrld_cdc97f0e-ae5e-487a-a8c0-6c6eb2ebe37f
Note that this prefab does not come with sounds. That is a separate prefab sold by Vowgan.
https://vowgan.booth.pm/items/1966582
*when fill level is set to 0.5.