comment on what can implement predict_collision
This commit is contained in:
parent
03a7552248
commit
a28e7236d4
@ -111,6 +111,7 @@ impl crate::event::EventTrait for PhysicsState {
|
||||
}
|
||||
}
|
||||
|
||||
//something that implements body + hitbox can predict collision
|
||||
impl crate::sweep::PredictCollision for Model {
|
||||
fn predict_collision(&self,other:&Model) -> Option<crate::event::EventStruct> {
|
||||
//math!
|
||||
|
Loading…
Reference in New Issue
Block a user