From dc514811f0c837735d1fc2b383d861b52c8cf5b7 Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Fri, 26 Jun 2026 21:35:41 +0300 Subject: [PATCH] added missing `PartialEq` impls for kinematic character controller --- fyrox-impl/src/scene/dim2/physics/character.rs | 2 +- fyrox-impl/src/scene/graph/physics/character.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.