added missing PartialEq impls for kinematic character controller

This commit is contained in:
Dmitry Stepanov
2026-06-26 21:35:41 +03:00
parent 10724b7542
commit dc514811f0
2 changed files with 2 additions and 2 deletions
@@ -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.
@@ -128,7 +128,7 @@ impl Into<rapier2d::control::CharacterAutostep> 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.