diff --git a/fyrox-impl/src/scene/dim2/physics/character.rs b/fyrox-impl/src/scene/dim2/physics/character.rs index 4eb20419f..be3a08d3d 100644 --- a/fyrox-impl/src/scene/dim2/physics/character.rs +++ b/fyrox-impl/src/scene/dim2/physics/character.rs @@ -51,7 +51,7 @@ use rapier2d::{ /// you control movement directly rather than applying forces. /// /// TODO: Example -#[derive(Visit, Reflect, Debug, Clone)] +#[derive(Visit, Reflect, PartialEq, Debug, Clone)] #[reflect(type_uuid = "42995595-7e06-41b5-b8fc-8aa9b7feaf36", non_comparable)] pub struct KinematicCharacterController { /// The direction that goes "up". Used to determine where the floor is, and the floor’s angle. diff --git a/fyrox-impl/src/scene/graph/physics/character.rs b/fyrox-impl/src/scene/graph/physics/character.rs index d006cad24..33d4617ff 100644 --- a/fyrox-impl/src/scene/graph/physics/character.rs +++ b/fyrox-impl/src/scene/graph/physics/character.rs @@ -128,7 +128,7 @@ impl Into for CharacterAutostep { /// you control movement directly rather than applying forces. /// /// TODO: Example -#[derive(Visit, Reflect, Debug, Clone)] +#[derive(Visit, Reflect, PartialEq, Debug, Clone)] #[reflect(type_uuid = "42995595-7e06-41b5-b8fc-8aa9b7feaf36", non_comparable)] pub struct KinematicCharacterController { /// The direction that goes "up". Used to determine where the floor is, and the floor’s angle.