All Projects → Scrawk → Position Based Dynamics

Scrawk / Position Based Dynamics

Licence: other
Position based dynamics in Unity

Projects that are alternatives of or similar to Position Based Dynamics

Unity Robotics Hub
Central repository for tools, tutorials, resources, and documentation for robotics simulation in Unity.
Stars: ✭ 439 (+242.97%)
Mutual labels:  unity, physics-simulation
Carsimulator
A Top Down 2D Car Simulator For Unity
Stars: ✭ 184 (+43.75%)
Mutual labels:  unity, physics-simulation
Articulations Robot Demo
Stars: ✭ 145 (+13.28%)
Mutual labels:  unity, physics-simulation
2d Deformable Body In Unity
A 2D Deformable body simulation in Unity using FEM
Stars: ✭ 85 (-33.59%)
Mutual labels:  unity, physics-simulation
Gitdependencyresolverforunity
This plugin resolves git url dependencies in the package for Unity Package Manager. You can use a git url as a package dependency!
Stars: ✭ 126 (-1.56%)
Mutual labels:  unity
Towerdefense
A Tower Defense style game example in Unity
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
U.movin
Unity library for rendering After Effects shape animations
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
Vfxminisexamples
Unity examples showing how to control VFX graphs with MIDI devices
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
Graphmesh
Graph-based mesh modifiers.
Stars: ✭ 128 (+0%)
Mutual labels:  unity
Meshsyncdccplugins
DCC plugins for MeshSync in Unity. Supported tools: Maya, Maya LT, 3ds Max, Motion Builder, Modo, Blender, Metasequoia
Stars: ✭ 127 (-0.78%)
Mutual labels:  unity
Pvtut
Procedural Virtual Texture with Unity Terrain
Stars: ✭ 125 (-2.34%)
Mutual labels:  unity
Minimalcompute
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
Gpu Gems 2d Fluid Simulation
2D fluid simulation in Unity
Stars: ✭ 126 (-1.56%)
Mutual labels:  unity
Sgf
This is a Smart Game Foundation (Not Framework)
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
Easyvirtualmotioncaptureforunity
バーチャルモーションキャプチャーからOSCで姿勢情報を受信してUnityシーンに反映するスクリプト群です。 UnityPackage1つで簡単導入、ランタイムでももちろん動作。プロトコルは公開されており拡張可能
Stars: ✭ 128 (+0%)
Mutual labels:  unity
Infinity Square Space
Infinity Square/Space. The prototype of the game is open source. Unity Asset.
Stars: ✭ 122 (-4.69%)
Mutual labels:  unity
Kit
Unity3D开发的工具包集合, 集成常见的开发组件以免于重复造轮子。佛系更新中。。。
Stars: ✭ 123 (-3.91%)
Mutual labels:  unity
Webglinput
IME for Unity WebGL
Stars: ✭ 127 (-0.78%)
Mutual labels:  unity
Arkit Unity3d
Access ARKit features like world-tracking, live video rendering, plane estimation and updates, hit-testing API, ambient light estimation, and raw point cloud data.
Stars: ✭ 124 (-3.12%)
Mutual labels:  unity
Herebedragons
A basic 3D scene implemented with various engines, frameworks or APIs.
Stars: ✭ 1,616 (+1162.5%)
Mutual labels:  unity

Position-Based-Dynamics

Position based dynamics is a method used to simulate physical phenomena like cloth, deformation, fluids, fractures, rigidness and much more. Most of the core math comes from this C++/OpenGL project over at GitHub.

The key process in PBD is to simulate the object as a set of points and constraints. Forces are applied to the points to move them and then the constraints make sure the points wont move in a way that violates the simulation.

I have included the code for cloth, deformable, fluid and rigid constraints but the GitHub project also contains some rope/chain constraints as well as a large variety of ball joint and hinges constraints.

All the code runs on the CPU so performance will be poor especially for the more demanding constraints like fluids. This project is more a example of how the math and code works rather than anything practical and the graphics are just line renderings or spheres.

PBD is also the method used for Nivida's Flex but that runs on the GPU.

Below is the PBD cloth scene. The points in the green bounds are static so the cloth will hang from those points.

PBDCloth

Below is a PBD rigid body. Each point moves independently but the shape matching constraint will make sure the objects shape is still retained.

PBDRigid

Below is a PBD deformable object. Its is made of tetrahedrons and bends. The points in the green bounds are static like in the cloth scene.

PBDDeformable

Below is PBD fluid. The spheres represent the fluids particles and they will flow together like in a fluid. You can see them forming a wave. Given enough particles it will look like water but its quite demanding to do on a single thread on the CPU so you will have to make do with a limited amount of particles.

PBDFluid

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].