All Projects → irlanrobson → Bounce

irlanrobson / Bounce

Licence: zlib
Bounce is a 3D physics engine for games.

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Bounce

Cute headers
Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
Stars: ✭ 3,274 (+991.33%)
Mutual labels:  game, collision-detection, library, math
Classic Pool Game
Classic 8 Ball pool game written in JavaScript
Stars: ✭ 177 (-41%)
Mutual labels:  game, collision-detection, physics
Coord Rs
[deprecated] A simple, ergonomic vector mathematics crate for Rust
Stars: ✭ 18 (-94%)
Mutual labels:  library, math, physics
Glportal
🎮 Open Source teleportation based first person puzzle-platformer
Stars: ✭ 297 (-1%)
Mutual labels:  game, physics
Unitymathreference
Math reference for games and more. All visualized in Unity3D.
Stars: ✭ 166 (-44.67%)
Mutual labels:  game, math
Dustracing2d
Dust Racing 2D is a traditional top-down car racing game including a level editor.
Stars: ✭ 199 (-33.67%)
Mutual labels:  game, physics
Geotic
Entity Component System library for javascript
Stars: ✭ 97 (-67.67%)
Mutual labels:  game, library
cas
Cellular Automata Simulator
Stars: ✭ 22 (-92.67%)
Mutual labels:  math, physics
good-reads
List of inspiring articles, blogs, tutorials and books. Tech stuff.
Stars: ✭ 14 (-95.33%)
Mutual labels:  math, physics
Libbulletjme
A JNI interface to Bullet Physics and V-HACD
Stars: ✭ 55 (-81.67%)
Mutual labels:  physics, collision-detection
von-physics
"Arcade"-style game physics library
Stars: ✭ 35 (-88.33%)
Mutual labels:  physics, collision-detection
Aim Ik
A Unity-3D library, to procedural orientate character head (and chest) in a direction without using any animation data.
Stars: ✭ 164 (-45.33%)
Mutual labels:  game, library
Aerogameframework
AeroGameFramework is a Roblox game framework that makes development easy and fun. The framework is designed to simplify the communication between modules and seamlessly bridge the gap between the server and client.
Stars: ✭ 150 (-50%)
Mutual labels:  game, library
Swarmz
A free, header-only C++ swarming (flocking) library for real-time applications
Stars: ✭ 108 (-64%)
Mutual labels:  game, library
arogozhnikov.github.io
'Brilliantly wrong' blog, Machine Learning visualizations live here
Stars: ✭ 120 (-60%)
Mutual labels:  math, physics
purescript-quantities
Physical quantities and units
Stars: ✭ 44 (-85.33%)
Mutual labels:  math, physics
PyAbel
A python package for Abel and inverse Abel transforms
Stars: ✭ 74 (-75.33%)
Mutual labels:  math, physics
Humper
Collision detection for Axis-Aligned-Bounding-Boxes (aka AABB) in C#.
Stars: ✭ 73 (-75.67%)
Mutual labels:  game, physics
Buoyancysystem
A system for buoyancy and boat physics in Unreal Engine 4.
Stars: ✭ 87 (-71%)
Mutual labels:  game, physics
my-math-notes
All of my math stuff from grad school.
Stars: ✭ 41 (-86.33%)
Mutual labels:  math, physics

Bounce

Welcome! Bounce is a 3D physics engine for games.

Features

Common

  • Efficient data structures with no use of STL
  • Frame, stack, and pool allocators
  • Built-in math library
  • Tunable settings used across the entire library

Collision

  • Dynamic tree broadphase
  • Static tree "midphase"
  • SAT
  • GJK
  • Spheres, capsules, convex hulls, triangle meshes, signed distance functions
  • Optimized pair management

Dynamics

  • Rigid bodies
  • Gyroscopic motion solver
  • Contact, friction, restitution
  • Mouse, spring, sphere, cone, revolute, friction, weld, motor, prismatic, wheel joint types
  • Soft constraints
  • Quaternion constraints
  • Joint motors, limits
  • Constraint graphs
  • Simulation islands and sleep management
  • Linear time solver
  • Stable shape stacking
  • One-shot contact manifolds
  • Contact clustering, reduction, and persistence
  • Contact callbacks: begin, pre-solve, post-solve
  • Ray-casting, convex-casting, and volume queries

Soft Body

  • Soft body using finite elements
  • Stretch, spring, mouse, triangle and tetrahedron element force types
  • Vertex contact, friction
  • Elasticity, plasticity
  • Linear/non-linear time solver
  • Unconditional simulation stability
  • Ray-casting

Rope

  • Rope using joint coordinates
  • Linear time dynamics

Testbed

  • OpenGL 2 with GLFW and GLAD
  • UI by imgui
  • Mouse picking
  • premake build system

Documentation

License

Bounce is released under the zlib license. Please recognize this software in the product documentation if possible.

Dependencies

Testbed

External

These are the external dependencies for the Testbed example project. If you don't care about Testbed, then you don't need these dependencies.

Internal

There are a couple of single file header libraries in the root directory of the project tree that are used across the library. I call them internal dependencies because I wrote them. I haven't researched a better name for them, although probably there exist one.

Contributing

You can ask anything relative to this project using the issue tracker.

Please do not open pull requests with bugfixes or new features that require large changes. Open an issue first for discussion.

Building

Bounce uses premake for generating project files in a platform agnostic manner. premake is available at https://premake.github.io/.

  • Put premake into bounce/.

Windows

Visual Studio 2019

  • Say { premake5 vs2019 } on a command line.
  • Open build/vs2019/bounce.sln.
  • Set testbed as the startup project.
  • In the testbed debugging properties, set Working Directory to ..\..\examples\testbed.
  • Press F5 to run.

Linux

GNU Make

x86
  • Say { ./premake5 gmake2 } on a terminal.
  • From build/gmake2 say { make config="debug_x86" }.
  • Set the testbed directory as the working directory.
  • From bin/x86/debug/testbed say { ./testbed }.
x64
  • Say { ./premake5 gmake2 } on a terminal.
  • From build/gmake2 say { make config="debug_x86_64" }.
  • Set the testbed directory as the working directory.
  • From bin/x86_64/debug/testbed say { ./testbed }.
  • Install packages as necessary.

Mac

I don't run Mac currently and therefore can't test the build system in this platform.

Doxygen

While there isn't a complete user manual available for Bounce, you can use the quickstart guide and the Testbed for learning how to use Bounce. Testbed is a collection of visual tests and examples that can support the development of the library. As you would imagine, this application is not part of the library.

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].