Implement hitstun and knockback.

This commit is contained in:
2026-09-13 23:01:25 +02:00
parent 811578af2f
commit 4570860d64
26 changed files with 840 additions and 246 deletions
+7
View File
@@ -58,6 +58,13 @@ impl StagePoly {
.iter()
.enumerate()
.filter_map(|(segment_idx, segment)| {
if segment
.normal
.dot(ray_segment.point2() - ray_segment.point1())
>= crate::math::int::FGWide::ZERO
{
return None;
}
segment
.segment
.segment_intersection(&ray_segment)