Merge pull request #403 from dimforge/copy-charactercollision

Implement Copy-Clone-Debug for CharacterCollision
This commit is contained in:
Sébastien Crozet
2022-10-14 17:59:50 +02:00
committed by GitHub

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,