pub const LEDGE_GRAB_SIZE: usize = 0x10;
Expand description

The up most y value of the box = y + height The down most y value of the box = y

When LedgeGrabEnable::EnableInFront:

  • The fighter can only grab ledge when facing towards it
  • The left x value of the box = x_left
  • The right x value of the box = ecb right x value + x_padding When LedgeGrabEnable::EnableInFrontAndBehind:
  • The fighter can grab ledge no matter the direction they are facing
  • The left x value of the box = ecb left x value - x_padding
  • The right x value of the box = ecb right x value + x_padding

Note: left is behind the fighter and right is in front of the fighter