项目作者: distransient

项目描述 :
amethyst - nphysics bridge
高级语言: Rust
项目地址: git://github.com/distransient/nphysics-ecs-dumb.git
创建时间: 2018-11-25T04:38:25Z
项目社区:https://github.com/distransient/nphysics-ecs-dumb

开源协议:

下载


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.

1.

  1. - `"sync_bodies_to_physics_system"` - Synchronize changes to dynamics bodies to physics world
  2. - `"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