Update
This commit is contained in:
parent
669ad27adb
commit
dbf191fd3a
25 changed files with 1985 additions and 1957 deletions
|
@ -4,4 +4,10 @@ Tinyphysicsengine (TPE) is a very simple [suckless](suckless.md)/[KISS](kiss.md)
|
|||
|
||||
The repository is currently at https://git.coom.tech/drummyfish/tinyphysicsengine.
|
||||
|
||||
Let's stress that TPE is NOT physically accurate, its purpose is mainly entertainment, simplicity and experimenting; a typical imagined usecase is in some suckless [game](game.md) that just needs to add some simple "alright looking" physics for effect. { Though I am currently in process of making a full racing game with it. ~drummyfish } It tries to respect physics equations where possible but uses cheap [approximations](approximation.md) otherwise. For example all shapes are in fact just soft bodies made of spheres connected by stiff wires, i.e. there are no other primitives like cuboids or capsules. Environments are made by defining a custom [signed distance field](sdf.md) (ish) function -- this allows setting up all kinds of environments (even [dynamic](dynamic.md) ones, precomputation is not required), checking a sphere-SDF collision is very easy.
|
||||
Let's stress that TPE is NOT physically accurate, its purpose is mainly entertainment, simplicity and experimenting; a typical imagined usecase is in some suckless [game](game.md) that just needs to add some simple "alright looking" physics for effect. { Though I am currently in process of making a full racing game with it. ~drummyfish } It tries to respect physics equations where possible but uses cheap [approximations](approximation.md) otherwise. For example all shapes are in fact just soft bodies made of spheres connected by stiff wires, i.e. there are no other primitives like cuboids or capsules. Environments are made by defining a custom [signed distance field](sdf.md) (ish) function -- this allows setting up all kinds of environments (even [dynamic](dynamic.md) ones, precomputation is not required), checking a sphere-SDF collision is very easy.
|
||||
|
||||
The library was used to make [Licar](licar.md).
|
||||
|
||||
## See Also
|
||||
|
||||
- [small3dlib](small3dlib.md)
|
Loading…
Add table
Add a link
Reference in a new issue