No announcement yet.

Stop animation on Collision not working

  • Filter
  • Time
  • Show
Clear All
new posts

    Stop animation on Collision not working

    Hi all

    I am working on a VR experience and am coming up with quite an annoying issue.

    Basically, i have a machine with an ON and OFF button which should Play/Stop parts of the machinery moving as well as the sound effect. I have set this up within the level blueprint so that "OnCollitionbeginOverlap" starts the animation and plays the sound, this works no problem, but the same setup for the OFF button to stop the animation and sound is not behaving! Maybe 50% of the time it will work as expected, but the other 50% it will stop the animation & sound for 1 second or so but it then just starts up again.
    Please see the image attached of the above blueprint
    The animation is simply a part of the machine rotating around its own axis (it is a lathe machine)

    Im still a beginner so apologies if this is a daft Q

    Any help is appreciated

    Your BP seems ok to me, so the problem could be in the layout. Any chances the two buttons are so close that when you overlap the OFF button you are actually also overlapping the ON button? You can use Print String to the log to check what is happening and in which sequence.
    CTO | Head of VR Development - Visit us at
    My UE4 Tutorials (mostly VR):


      Sory for a late reply. You were correct, it seemed the Collision on the default VR hands is fairly large, was just a case of spreading out the buttons a little bit and it works as expected. Thankfully it was a simple one this time xD

      Thanks for your help