Make weapon position relative to hand positions, wonky for now

This commit is contained in:
2026-03-30 21:10:20 +01:00
parent d00b4d1c6f
commit 633bf479b2
3 changed files with 32 additions and 15 deletions
-1
View File
@@ -351,7 +351,6 @@ muzzleWallCheck w cr = fromMaybe cr $ do
^? ix invid . _2
let ps = reduceLocDT f loc ^.. each . _1 . _xy
cp = cr ^. crPos . _xy
-- cop = cr ^. crOldPos . _xy
r <- boundPointsRect (cp : ps)
let wls = uncurry wlsNearRect r w & IM.elems & filter (not . _wlTouchThrough)
vs = mapMaybe (g cp wls) ps