Skip to main content
GameDev.net gamedev.net
🔒 Locked

syncing hit detection with animation in UE4

Started by gofresh Jan 23, 2022 at 6:03 PM 0 replies 8.9k views
Original Post
gofresh
gofresh

Hello everyone,

I am trying to figure out how diablo4 does the new animated hit detection in this video:

As you can see the gree damage area gives a better feeling of “hit”. I really want to simulate this in unreal engine with c++. I have created a simple scenario: player clicks on attack, animation montage plays attack animation, in the exact hit moment a custom animation notify gets triggered. Custom anim notify logic does a SweepMultiByChannel with a shpere collision shape. My problem is that I can not create the exact shape as in the image below. How would I go about doing this in unreal engine using c++ ?

hit detection area

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.