Exploring "slime" material in Unity
This semester we are working for EA Maxis studio to create a VR slime God Game. In order to create the slime material, we want to explore the soft body. (Note: The "slime" feeling we want to approach is more like jelly kind of feeling, not the slime toys people usually play with.)
Things we want to achieve:
1. Subsurface Scattering
2. Soft Body
3. Fluid Simulation
4. Texture Animation ( for slime expression)
5. Glitter Effect ( Texture and highness map)
After doing research, I found several options we can try to achieve this:
Obi soft body
fixed joint/spring joint
fluid simulation
vertexmotion
dynamic bone
Soft body objects
jelly effect(tutorial)
mesh deformation
bullet physics
Since bullet physics are free and the demo looks like what we want, so I decided to explore it first.
1. First, download the bullet physics from asset store and import it into your Unity Project.
You may find that there're some errors says "Unsafe code may only appear if compiling with ...", to solve this, you need to enable unsafe code in unity. I found the solution on StackOverflow: Simply go to players settings and find the allow 'unsafe' code checkbox under the other setting section.
Well, it's time to explore! Check out this bullet physics website