diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-02-10 11:56:51 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-02-11 15:58:46 +0100 |
| commit | 5b80c4efbf93ad1294c9d3d390d8c8f090681b0e (patch) | |
| tree | d82cef06b68a078dc23230e4e596021f7071b9b7 /src_testbed | |
| parent | 3be866920657f7a13a49486795e06f14d92f4969 (diff) | |
| download | rapier-5b80c4efbf93ad1294c9d3d390d8c8f090681b0e.tar.gz rapier-5b80c4efbf93ad1294c9d3d390d8c8f090681b0e.tar.bz2 rapier-5b80c4efbf93ad1294c9d3d390d8c8f090681b0e.zip | |
Start experimenting with a generic joint implementation for joint drives.
Diffstat (limited to 'src_testbed')
| -rw-r--r-- | src_testbed/nphysics_backend.rs | 5 | ||||
| -rw-r--r-- | src_testbed/physx_backend.rs | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src_testbed/nphysics_backend.rs b/src_testbed/nphysics_backend.rs index 8b88e28..cce56e8 100644 --- a/src_testbed/nphysics_backend.rs +++ b/src_testbed/nphysics_backend.rs @@ -122,6 +122,11 @@ impl NPhysicsWorld { nphysics_joints.insert(c); } + JointParams::GenericJoint(_) => { + eprintln!( + "Joint type currently unsupported by the nphysics backend: GenericJoint." + ) + } } } diff --git a/src_testbed/physx_backend.rs b/src_testbed/physx_backend.rs index 319736c..011a450 100644 --- a/src_testbed/physx_backend.rs +++ b/src_testbed/physx_backend.rs @@ -421,6 +421,11 @@ impl PhysxWorld { &frame2 as *const _, ); } + JointParams::GenericJoint(_) => { + eprintln!( + "Joint type currently unsupported by the nphysics backend: GenericJoint." + ) + } } } } |
