跳转到内容

resolveMeleeHits

此内容尚不支持你的语言。

resolveMeleeHits(world, attacks, queries, events, damage): void

Defined in: gameplay/MeleeAttack.ts:183

Turn the animation events an attacker posted into blows.

Runs on LAST frame’s events, before this frame’s animator poses anything: the joints still hold the pose that produced the event, so the swing is asked about the space it was actually in.

World

MeleeAttacks

MeleeOverlapQuery | null

Iterable<AnimatorEventPayload>

void