Implement Copy-Clone-Debug for CharacterCollision
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user