Coder Social home page Coder Social logo

specs-physics's Introduction

specs-physics

Build Status Crates.io MIT/Apache Docs.rs

specs-physics aims to be an easily usable and extendable nphysics physics engine integration for applications and games that utilise the Specs ECS.

The dream is to simply create Entitys with a set of configurable Components and have most of your physics covered, be it collision/proximity detection, velocity and acceleration or gravity.

Examples

Full examples can be found under src/examples. If anything is missing or unclear, feel free to open an issue or give me a poke!

Contributing

I'd appreciate any kind of contribution to this project, be it feature requests, bugs/issues, pull requests, documentation, tests or examples!

Please just try to format any code changes according to the rustfmt.toml rules. They're not exactly set in stone and I'm open for suggestions, but let's try to keep things tidy!

Current Roadmap

Full TODO sheet can be found in this nphysics issue

  • RigidBody Components
  • Collider Components
  • Proximity and Contact EventChannels
  • External force property
  • log based logging
  • Handling Body Activation & Sleeping
  • Multibody-based Component Joints
  • Force generator inversion of control
  • Time scale and simulation pausing

Investigating:

  • Proximity & Curve-based external force utility
  • Constraint-based Joints
  • Kinematics

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

This project is heavily inspired by nphysics-ecs-dumb; they did most of the heavy lifting, I'm just building up on what they have started!

Special thanks to:

specs-physics's People

Contributors

distransient avatar annekitsune avatar niconicoj avatar 999eagle avatar neosam avatar hukumka avatar cooloppo avatar stillinbeta avatar tom-leys avatar willcrichton avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.