forked from StrafesNET/strafe-client
stage sweep
This commit is contained in:
parent
5391b635fb
commit
fc751a9fe8
8
src/sweep.rs
Normal file
8
src/sweep.rs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
//something that implements body + hitbox + transform can predict collision
|
||||||
|
impl crate::sweep::PredictCollision for Model {
|
||||||
|
fn predict_collision(&self,other:&Model) -> Option<crate::event::EventStruct> {
|
||||||
|
//math!
|
||||||
|
None
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user