Hello,
I am trying to integrate nphysics2d
with specs
and I am facing an issue with RigidBodyHandle being non-thread-safe since it’s defined as:
pub type RigidBodyHandle = Rc<RefCell<RigidBody>>;
Is there a way to make RigidBodyHandle thread safe so that I can store it in specs
’ Component
s?