25
2012
Verlet Integration : SoftBody
New/modified version of the previous test sources: Verlet Integration Cloth
The fake shadow (“shadow volumes” from unifycommunity) is bit broken,
maybe because we are modifying the vertices at the same time or it didnt really work so well with spheres..
Shader: Gem shaders
Webplayer:
http://unitycoder.com/upload/demos/VerletIntegrationSoftBody1/
Download source:
verletBall.unityPackage
Related Posts
13 Comments + Add Comment
Leave a comment
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI
Any chance to have this source? 😀
Yes, adding source next week.
ps. This one looks interesting too, maybe could be used for something similar:
http://forum.unity3d.com/threads/131141-Open-Source-Farseer-Physics-Engine-%28Box2D%29-port-for-Unity-%28WIP%29
Source added.
got the source but don’t know how to set it up
in “Verlet.cs” there is variable for softness:
private float softness = 0.01135f*0.80f;
and inside function Create(),
it sets the object position and scale:
m_offset = new Vector3(0,12,0);
m_scale = 0.3f;
And collision is checked from y coordinate=0..
I havent got it working with all shapes..sphere works best, most others just hit the ground and go flat..(maybe some variable should be adjusted..not sure which).
Why I can’t download the source code.
It just ask me to instell the toolbar…
link fixed!
Jelly-Mesh-Soft-body:
http://forum.unity3d.com/threads/232065-Jelly-Mesh-Soft-body-style-physics-for-3D-meshes
A Verlet based approach for 2D game physics:
http://www.gamedev.net/page/resources/_/technical/math-and-physics/a-verlet-based-approach-for-2d-game-physics-r2714
Realtime SoftBodies using C#
http://wiki.unity3d.com/index.php?title=SoftBodies
Bullet Physics for unity (free!)
http://forum.unity3d.com/threads/released-bullet-physics-for-unity.408154/
Hi, sadly I cannot download verletBall.unityPackage anymore 🙁
It redirects to http://1darray.com/blog/#expired_link
oops, forgot to update the downloader check after domain name change.. it should be working now. (might have to clear cache for this website if it doesnt)