Modern Survival Horror Framework v0.5.0 is now available! Download it now through the Epic Games Launcher.
Notifications
Clear all

[Sticky] Support – Classic Survival Horror Framework

396 Posts
19 Users
128 Reactions
33.5 K Views
Farshad
(@farshad)
DEVELOPER Admin
Joined: 8 months ago
Posts: 491
Topic starter  

@ben4886 You can use the GetWeaponType function from AC_Interact and check whether the current Weapon Type is set to Unarmed. If it is, so can trigger your punch or kick animations.

For the actual hit detection, you can add Box Collisions to the character's hands or feet depending on your needs. During the appropriate part of the attack animation and Apply Damage.

I would also recommend enabling the collision only during the actual hit frames of the animation and disabling it afterward, rather than keeping it active all the time.



   
Ben4886 reacted
ReplyQuote
Michele Biancucci
(@mbthecomposer)
Patreon Survivor Registered
Joined: 6 months ago
Posts: 23
 

@farshad The problem occurs with both rotation and movement.



   
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 8 months ago
Posts: 491
Topic starter  

@mbthecomposer Are the Motion Warping setup and Contextual Animation configured correctly? If the Motion Warping Notify States and their values are set up properly, both characters should immediately rotate to face each other.

I haven’t tested this myself on the Classic Framework yet, but @ben4886 is the one who added this feature to CSHF. Ben, do you have any thoughts on this? Any idea why this might be happening to Michele?


This post was modified 6 days ago by Farshad

   
ReplyQuote
Ben4886
(@ben4886)
Patreon Hunter Registered
Joined: 7 months ago
Posts: 134
 

@farshad @mbthecomposer Can you share a screenshot of how you have blueprint set up?



   
ReplyQuote
Ben4886
(@ben4886)
Patreon Hunter Registered
Joined: 7 months ago
Posts: 134
 

@farshad Perfect, got it working, thanks



   
ReplyQuote
Michele Biancucci
(@mbthecomposer)
Patreon Survivor Registered
Joined: 6 months ago
Posts: 23
 

@farshad I'm currently continuing with the project, so I'm keeping this task for the future. Thanks anyway. 🙂



   
Farshad reacted
ReplyQuote
Page 27 / 27
Share: