AI attack, Mars Marine Course

Hello,
I have a question about the spider attack, in the mars Marine course, Spider damages the player through an Anim notify but what if I want to make the spider damage the player Through the collision of the spider’s claw when It’s doing the attack move.
How can I do that?

You can attach a collision component to the bone on the spider skeleton that corresponds to the claw, then you’ll need to tell that collision component to enable/disable itself when the spider attacks. That way the begin overlap event only fires when you want it to.

That’s one method of doing it, I imagine there are more.

Thanks a lot, I’ll investigate more on that maybe I can do what you suggested by creating a custom collision channel

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms