diff --git a/src/dynamics/joint/joint_set.rs b/src/dynamics/joint/joint_set.rs index b3a0fd9..2e4b394 100644 --- a/src/dynamics/joint/joint_set.rs +++ b/src/dynamics/joint/joint_set.rs @@ -35,6 +35,7 @@ pub(crate) type JointIndex = usize; pub(crate) type JointGraphEdge = crate::data::graph::Edge; #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] +#[derive(Clone)] /// A set of joints that can be handled by a physics `World`. pub struct JointSet { joint_ids: Arena, // Map joint handles to edge ids on the graph.