Improve handle position for one handed at ease carry

This commit is contained in:
2025-12-26 16:58:25 +00:00
parent b446ff2366
commit 60a69d0092
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ module Dodge.Creature.HandPos (
backPQ, backPQ,
headPQ, headPQ,
translateToES, translateToES,
rightHandPQ,
) where ) where
import Dodge.Data.Equipment.Misc import Dodge.Data.Equipment.Misc
+3 -1
View File
@@ -7,6 +7,7 @@ module Dodge.Item.HeldOffset (
handHandleOrient, handHandleOrient,
) where ) where
import Dodge.Creature.HandPos
import Dodge.Data.AimStance import Dodge.Data.AimStance
import Dodge.Data.ComposedItem import Dodge.Data.ComposedItem
import Dodge.Data.Creature import Dodge.Data.Creature
@@ -43,7 +44,8 @@ handOrient cr = case cr ^. crStance . posture of
OneHand -> (V3 13 (-2) shoulderHeight, Q.qID) OneHand -> (V3 13 (-2) shoulderHeight, Q.qID)
TwoHandFlat -> (V3 13 0 shoulderHeight, Q.qID) TwoHandFlat -> (V3 13 0 shoulderHeight, Q.qID)
AtEase -> \case AtEase -> \case
OneHand -> (V3 (10 + walkhandp) (-7) 15, Q.qID) --OneHand -> (V3 (10 + walkhandp) (-7) 15, Q.qID)
OneHand -> rightHandPQ cr
TwoHandFlat -> (V3 10 0 15, Q.axisAngle (V3 0 0 1) $ twoFlatHRot cr) TwoHandFlat -> (V3 10 0 15, Q.axisAngle (V3 0 0 1) $ twoFlatHRot cr)
TwoHandUnder -> (V3 7 (-8) 15, Q.axisAngle (V3 0 0 1) (strideRot cr + 1.2)) TwoHandUnder -> (V3 7 (-8) 15, Q.axisAngle (V3 0 0 1) (strideRot cr + 1.2))
TwoHandOver -> (V3 10 0 15, Q.axisAngle (V3 0 0 1) (strideRot cr + 1.2)) TwoHandOver -> (V3 10 0 15, Q.axisAngle (V3 0 0 1) (strideRot cr + 1.2))