GetHitbox¶
Description¶
Gets a Hitbox from the animator's current frame.
Parameters¶
animator
-
The animator to get the hitbox from. the animation entry will use
animator.frames
and the frame id usesanimator.frameID
. hitboxID
-
The hitbox ID to retrieve. Indices 0-7 are valid.
Return Value¶
Returns a pointer to the desired hitbox of the animator's current frame as a Hitbox
. The return value will be NULL
if an error occurred.