From 5b80c4efbf93ad1294c9d3d390d8c8f090681b0e Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Wed, 10 Feb 2021 11:56:51 +0100 Subject: Start experimenting with a generic joint implementation for joint drives. --- src_testbed/nphysics_backend.rs | 5 +++++ src_testbed/physx_backend.rs | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src_testbed') 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." + ) + } } } } -- cgit