Clock face/ Spawn random text in each TextRender cipher

Alright check out this one!

284369-colltips.gif

The have fine collision tips and you see how it is synchronized with the needle below, because it’s a copy of it (with a separate blueprint).

Now, really, i need to assign your part of where the texts should move to, the location part.
Then we might have a hybrid of both worlds!

i just wonder where your blueprint is executed. I would just cut out all the other stuff and take the location transform directly to either the current ciphers or a copy of them, right when they’re colliding.

Those which have collided with the needle should apply the moving animation directly, so there can be a little randomness when it hits 2 or 4 cyphers.( It’s okay to have up to 4 cyphers moving.)

That code was executed in the main BP ( the circle BP ).

Okay, which part of the moving animation can I take out and attach it right to the collision event?

Sorry, you’ve lost me, can you be a bit more specific?

Well, It’s very obvious. I need the specific movement code that makes the letters move upward. Just the movement. So I can attach this movement after a simple Overlap-Event when the 3 arrows overlap with my ciphers.

284369-colltips.gif

Every cipher has a collision box. When it get hit by one of these three arrows sticking down, it will cause the affected cyphers to shoot up as shown before

284292-textg.gif

.

Have to go again now, but I’m thinking about a vector from their starting position to the top of the circle. You can calculate a point on that vector over time and change the actors position based on this. Also, no doubt using a time line.

You have vector start and end points and you can calculate % along the vector given how far down the time line you are…

Requesting this in an example Blueprint… i fell asleep… otherwise I need to invest weeks, if not months, into learning all the math functions - but the clock could be finished through last step step today or tomorrow…

I think it’s the most practicable to place a destination point above the ring… this is the location we can specify where the letters move to.

Okay, here’s a little beginning, but it is far from correct with a few wacky nodes.

284404-shotup.gif

The problem is that this feature is rotating with the circle and I still can’t figure out how to make a Destination Point Mesh the target location. We’re almost there in its basics. :slight_smile:

That’s why I had the 3 words that would travel up copy their text, and not be attached to the circle :wink:

Ah, and forget what I said about vectors and timelines there. You can just use the tick and a vinterp to move the words from where they are to the destination point, just like we did with the finterp above. ( vinterp is just a vector version of finterp ).

So I added this code to the component that moves upwards, basically it’s always trying to get to the top point on tick. It’s coordinates get reset by the transform ( in the 2 part BP I showed you further up ):

Where this says ‘Text’ initially is the component resting at it’s target. When I press O, it assumes the position of one of the other words on the wheel ( 2 part BP above ) and then the tick code here moves it back to the target spot, because that’s what it’s always trying to do, move to the target:

284396-target.gif

Alright! If the cipher movement is a bit random, which I can see, then it’s perfect! :smiley:

As a side note i wanted to leave my funny other logic here. It’s as minimalist as it could get, but i might discard it if your example works. Gonna define “Up1” and highpoint locator now, which confused me a bit. Don’t they rotate with the ring?! It caused me worries.

Only the components that should rotate with the wheel should be connected to the wheel.

My Up1 component is a text component that gets a copy of the text from the one on the wheel ( which in turn is made blank ), it moves to the target point, which I called HighpointLocator.

Now I need to make exact sized replicas of the ciphers as “Up1”, correct? … hmmm…mind breaker…I might duplicate all of them and change the child actor to a duplicated cipher Blueprint…

I gave you the code above, if you want to go your own way, of course that’s up to you :wink:

That SetWorldTransform does all the work for you, when you copy the child text into the Up1 component…

Okay that might be a fast one. To make sure, i should duplicate all the ciphers and set them to FlyingCipher child actors (a duplicated Blueprint of the original one). They will shoot out. What happens to the original ones?

Code is all above with explanation :slight_smile:

Ok thanks, trying this I can plug only one piece of “Up1” into GetWorldLocation…?

These are supposed to be the Up1’s… renaming them later.

You only need to do this for the 3 actors that move up, you have to make a SetWorldLocation node for each of the 3

One thing!

You haven’t explained what type of component the HighPointLocator is.

It can be anything, in my case it’s just a ‘scene’, so it has no content…

Okay… Heck, none of it works so far. I have a literal migraine with this thing.

They all get the world location of the destination point - and still nothing.