Rumble XBox Controller

Hi,

I have seen previous questions - one that is marked as resolved but doesn’t explain a process. I want to implement the rumble feature when damage is taken. I found the Play Dynamic Force Feedback node by turning off context sensitive but have no idea how to implement it.

One question said to Enable Feedback on the Player Controller - sorry but I have no idea what that means and can’t find anywhere where I might be able to do this.

Any specific step by step help would be greatly appreciated.

Thanks,
Ben

  • create a Miscellaneous > ForceFeedbackEffect asset
  • inside that asset, add a keyframe at 1 second, with a value of 1.
  • inside your Character, getController, cast to PlayerController, and plug that into a ClientPlayForceFeedback node
  • set the ForceFeedbackEffect reference to your ForceFeedbackEffect asset

Awesome - is Client Play Force Feedback the same as Play Dynamic Force Feedback??? Will both result in the rumble effect?

ClientPlayForceFeedback rumbles with an animated intensity, based on keyframes.

PlayDynamicForceFeedback is a looping rumble effect where you can set its intensity, but it does not use a ForceFeedbackEffect asset, so its intensity is not a canned animation, and it needs to be updated procedurally.

so if you want the feedback to fade out, or pulse like a heart beat, or some other animated effect, use ClientPlayForceFeedback. if you want to procedurally set the intensity through a function, you can use PlayDynamicForceFeedback.

Thank you very much. Sorry for the delay in responding but I got back to my game today and it works perfectly.

Your help is greatly appreciated