Hi,
I am trying to prototype some functionality for a simple music game.
I’m using text (Text3D objects) and have made an animation sequence with two keyframes where the text passes through a trigger box.
For now I would like to simply turn a light on when a letter enters the trigger box, and turn it off when it leaves.
In the future I would like to develop this so it triggers or toggles sounds and particles.
For the moment I’m inside the third person map template, but I would like to use the same setup in other workspaces for motion graphics and cinematics.
I’ve followed some tutorials but I can’t get it to work. I think I must be missing something fairly simple.
Attached is a gif of me scrubbing the timeline so you can see how the text overlaps.
There’s also an image of my blueprint.
Thanks in advance.
Text 3d component lacks proper collision testing even though it has nodes like complex collision on move, generate overlap events etc nothing seems to register (maybe a bug?)
Anyway I iterate over each glyph, get it’s mesh extent, origin and with some extra transformations generate a box collider where each word is with it’s dimensions.
It’s not pixel perfect (some are slightly shifter along the letter) but I’m guessing it’s due to float rounding errors. (perhaps spaces are calculated weirdly?).
the small letter i seems to be most effected.
Thank you for such a detailed response, I really appreciate it.
I’ll try and recreate that node tree, it’s a lot more complicated than I anticipated but I think I understand it.
I might also consider filing a bug report about the 3D text not registering overlap or collision, it would make things a lot simpler for my project that’s for sure.
Thanks, I didn’t know you could past nodes, super cool.
I’m having some trouble with referencing the text 3D variable but I think I just need to rename it somewhere