Implement Copy-Clone-Debug for CharacterCollision

This commit is contained in:
Sébastien Crozet
2022-10-14 17:33:47 +02:00
parent 053cb22a85
commit 9febe341fc

View File

@@ -76,6 +76,7 @@ impl Default for CharacterAutostep {
} }
/// A collision between the character and its environment during its movement. /// A collision between the character and its environment during its movement.
#[derive(Copy, Clone, Debug)]
pub struct CharacterCollision { pub struct CharacterCollision {
/// The collider hit by the character. /// The collider hit by the character.
pub handle: ColliderHandle, pub handle: ColliderHandle,