Sound playing only once before Challenge

The audio is suppose to play several times in one second but instead only plays once when I close the door.

Here is my code:

OpenDoor.cpp

OpenDoor.h

Grabber.cpp

Grabber.h

I am using Unreal Engine 4.27.2 and VS code was recently updated though I do not know to what version.

I would also appreciate to hear a point of view if I should finish this course and skim through the UE 5 course or just start doing the UE5 course immediately or something else.

Thanks.

In case it was not clear, this is BEFORE I did the challenge on 11:11 (11 minutes and 11 seconds)

You’re constantly calling Play in OpenDoor and CloseDoor which means there’s not going to be a sound played as the next frame you call Play again. You need a way call play only once the first time Open/Door is called when it changes direction.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms