# Haptic feedback duration

**URL:** <https://forums.unrealengine.com/t/haptic-feedback-duration/638157>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, question, Blueprint\
**Created:** [August 31, 2022, 6:09pm UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157 "2022-08-31T18:09:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [August 31, 2022, 6:09pm UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157/1 "2022-08-31T18:09:03Z")

</div>

I’m trying to add haptic feedback to my VR game and I’ve stumbled upon a problem with feedback duration. Regardless of how I set up my haptic feedback curve, the controller always vibrates for about 2s. What’s strange - the current VR template has an effect which last for a fraction of a second (pistol fire), but when I copied it to my project, the duration still changes to the same 2s. Does anyone know what to do to have the feedback last as long as the curve?

---

<div class="post-metadata">

**Author:** ![Polite\_Muon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Polite\_Muon](https://forums.unrealengine.com/u/Polite_Muon)\
**Post date:** [August 31, 2022, 10:46pm UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157/2 "2022-08-31T22:46:03Z")

</div>

Howdy Pete\_the\_B, thank you for posting.

After you copied the feedback curve, did you extend the end part of the curve?  
I took a look at the documentation and found that in a ForceFeedback Effect, you can adjust the value and the time of haptic feedback. Here is the image of my example.

Additionally, here is the [documentation](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/ForceFeedback/). I have tested this in 5.0.

I hope this helps you in you project.

Example:

 ![curve](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/a/f0a5063c66011ab21556b3daf9964a573c345121.png)

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 1, 2022, 4:24am UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157/3 "2022-09-01T04:24:01Z")

</div>

No, I didn’t extend the curve - it’s exactly as it is in the VR template:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/c/93cc413be37052efbcd9e99e9b8208992881fc5a.png)

Yet, for some reason, the duration is always the same.

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 1, 2022, 5:17am UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157/4 "2022-09-01T05:17:53Z")

</div>

I also found a similar issue in the VR template - sometimes the haptic effect doesn’t stop.

---

<div class="post-metadata">

**Author:** ![Pete\_the\_B](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pete\_the\_B](https://forums.unrealengine.com/u/Pete_the_B)\
**Post date:** [September 1, 2022, 9:40am UTC](https://forums.unrealengine.com/t/haptic-feedback-duration/638157/5 "2022-09-01T09:40:45Z")

</div>

For anyone wondering, this bug seems to be related to [Valve Index and haptic feedback with OpenXR - #24 by jimsnomis](https://forums.unrealengine.com/t/valve-index-and-haptic-feedback-with-openxr/509213/24)
