First off, Thanks for Reading!
Hi I am working on a VR project based on the UVRF template by @ENiKS (Amazing template! You should check it! Link below)
So the project has the following things in it;
A Roll door (with animation)
A button to close the Roll door (for now an overlap event in the door blueprint)
A lamp (just a light)
A Jig (static mesh with animation)
Some parts (static meshes that go into the jig)
The way it should work:
At begin play the door is open and the light is burning a color, let’s say red.
The jig is empty and the parts lay on a table.
When you press the button to close the door nothing will happen because the jig is empty.
But when I pick up the parts and place them in de correct position on the jig, the light turns green and the door closes when the button is pressed.
When the door is closed the jig starts its animation
The door opens after the jig animation is completed and the light turns orange again.
And the process could be repeated as long as one would like.
So here comes the question;
What is the best way to communicate in this process between the blueprints?
I tried it with event dispatches but that gave me errors that I wasn’t able to solve
I tried a blueprint interface, but that just ran the whole thing without waiting on each other.
I really hope that someone could point me in the right direction as I have no clue on where to go right now.
Oh, and if you have any questions, please ask!
Thanks in advance,
(sorry if it was hard to read, I’m not a native English speaker)
(Here is that link I was writing about in the beginning:
edit: here are some pictures of the blueprints;