No description
Find a file
Joël Lupien 13ed416efa Timestep debug info (#19)
* Better error message for physics stepper timestep change.

* More debug messages for physics stepper.

* Added a way to change the timestep at runtime. Added reset and timestep change keybinds for the amethyst example.
2019-02-11 04:34:58 -05:00
examples Timestep debug info (#19) 2019-02-11 04:34:58 -05:00
src Timestep debug info (#19) 2019-02-11 04:34:58 -05:00
.gitignore Move to Rust 2018 and add Colliders 2018-12-18 22:12:46 -05:00
Cargo.toml Add log crate logging 2018-12-19 01:26:42 -05:00
README.md Fix links in README 2019-02-05 13:47:50 -05:00

Nphysics - Amethyst connector

Don't use. Work in progress. Many things are incomplete!

Currently specific to 3d Nphysics and Amethyst due to Amethyst handling of Transforms and to keep iteration quick, although I currently plan on allowing 3d and 2d nphysics implementations to be used to configuration settings, and both amethyst and plain specs interfaces to be exposed, also behind configuration settings.

System Sequence

I'll update this as I go along.

    • "sync_bodies_to_physics_system" - Synchronize changes to dynamics bodies to physics world
    • "sync_gravity_to_physics_system" - Update gravity of physics world from resource
  1. "sync_colliders_to_physics_system" - Synchronize collision items to physics world
  2. "physics_stepper_system" - Step physics world simulation
  3. "sync_bodies_from_physics_system" - Synchronize physics world changes back to components

Current Roadmap

Full TODO sheet can be found in this nphysics issue

Ongoing work:

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

Investigating:

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