Ok, buckle up. My compoent setup in the main circle BP is now like this:
Only 4 children, enough to make it work. New components are:
LowpointIndicator = Just marks the bottom of the wheel
Up1 = A new text render component ready to ‘fly up’, you will have 3 of these
Notice the new components are not attached to the revolving wheel, not much use
BP in 2 halves:
Basically:
I set the code to trigger when I pressed O, but you’ll want to make it happen when the ‘pusher’ is up. It collects the list of all child actors ( ie, the text boxes ) and has a look to see which ones are within a certain radius of the lowpoint.
You could get all manly here and try and figure out the 3 text boxes closest to the lowpoint, but take it from me, that’s a whole mess of code, and really wont get you any more juice.
You have to play with the distance figure ( I have 50 ), but if you want to catch 3 it will be more, also depends on the actual size of the wheel.
Moving to the right hand side of the BP. When we find a text box within distance, the ‘if’ branch fires. We have to cast the child to access it parts, because as far as the BP is concerned, it’s just ‘an actor’ at the moment.
So we cast and then access the text render component of that child. We can see what the text is and assign it to the local moveable copy, Up1. You will need 3 of these. At the same time we clear the text in the child, it will just get reset net time round.
Also, in the same branch, we set the world transform of the local copy to the world transform of the child, which will mean the local copy seamlessly takes on the appearance of the child, no one the wiser.
We can then move the local copy(s) up and out of sight. I didn’t do this step, you already have this code.
Howzat!