4
$\begingroup$

I'm creating a typewriter effect with animation nodes and I've trouble with figure out how to make text stay inside the 'LCD screen' as I hoped text will stay inside the box but it kept typing over the box. I'm not really sure how can I fix this problem. I hope anyone can help out with this?

enter image description here

enter image description here

Animation Nodes

$\endgroup$
  • 2
    $\begingroup$ You can use the Boolean modifier to only show the text that intersects a another mesh i.e. a Cube the size of the screen. $\endgroup$ – rob Nov 8 '18 at 15:54
  • $\begingroup$ I’ve tried with Boolean modifier but it didn’t work. I think it’s could be something to do with animation nodes? $\endgroup$ – Odizm Nov 8 '18 at 23:25
  • $\begingroup$ How do you want the overflow to be handled? Do you want the text to scale down to fit? Do you want it to be cut? $\endgroup$ – Omar Emara Nov 9 '18 at 8:45
5
$\begingroup$

Let us say that your writer screen can display at most 20 characters, then we could trim the start of the text by subtracting 20 from the end as follows:

Node Tree

$\endgroup$
  • $\begingroup$ Yes! That’s what I’m looked for. Thank you so much! You’re legend. $\endgroup$ – Odizm Nov 9 '18 at 9:45
  • $\begingroup$ Omar, this is gold. Later, I will have new question about flexing text or making text jump. I will post a question in an hour or so. $\endgroup$ – Rita Geraghty Nov 9 '18 at 12:44
  • $\begingroup$ @Odizm Please accept the answer if its answers your question. $\endgroup$ – Omar Emara Nov 9 '18 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.