Skip to content

Simple and fast C++ physics engine oriented for handling big number of simple objects: circles and constraints

Notifications You must be signed in to change notification settings

ronikiienko/myVerlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

myVerlet

Simple and fast C++ m_physics engine oriented for handling big number of simple m_objects: circles and constraints

Can handle 100k m_objects with 8 substeps on 60fps+

Lowering number of substeps to 2 and pushing it's limits on 30fps+ can handle around 450k m_objects.

Handles m_gravity, collisions, wall constraints

Using SFML library.

Not using GPU for m_physics calculations.

myVerlet_pqiWjUpu5l image image

Try: myVerlet (3).zip

Compiled for windows only. M - add random. Spacebar - shoot. right click - explosion. WASD - m_shooter more, Arrows - m_shooter rotate, Backspase - remove all. Not fully showcasing possibilities, and m_window size is small meaning you can fit only around 50k without cluttering. 8 substeps.

About

Simple and fast C++ physics engine oriented for handling big number of simple objects: circles and constraints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published