4
$\begingroup$

animation nodes

The picture above shows the animation node setup I have currently. It is controlled by the movement of an empty. But I want to add a percent symbol on the end of the number. How can I do that? TIA

$\endgroup$
2
  • $\begingroup$ Why not just create a new text object that is a percent symbol, and move it off to the right of your animation? $\endgroup$
    – 10 Replies
    Commented Nov 28, 2016 at 1:57
  • $\begingroup$ 10 Replies. The 100% moves. Plus, It goes from 1 digit to 2 to 3. $\endgroup$
    – Tony Corin
    Commented Nov 28, 2016 at 2:16

4 Answers 4

2
$\begingroup$

You can use the Join Texts node (maybe "Join Strings" in your version) to concatenate multiple texts.

enter image description here

$\endgroup$
2
$\begingroup$

It looks like Jacques Lucke has a more elegant method that mine. Here is what your tree looks like with Jacques' addition. Jacques Variation

Good luck with your project.

$\endgroup$
0
$\begingroup$

Not knowing exactly how you have your number and the empty related to each other I was playing around with the animation nodes addon.

I set up my tree to look like yours and parented the TEXT object with the EMPTY. When the empty moves around the text object changes the number shown.

As 10 Replies suggested, I was able to add another text object to the scene with just a '%' sign. I parented that to the same empty in a position just to the right of the text object controlled by the animation nodes. In order to get the two text objects to stay in relative position, the text object displaying the number needs to be set to RIGHT in the HORIZONTAL ALIGNMENT section of the PARAGRAPH settings for the text object.

Text Data Tab

$\endgroup$
0
$\begingroup$

Jacques Lucke (@jacques-lucke) already gave the direct answer, but you can still spare some nodes/space:

enter image description here

(Using a "Join Texts" node, with the percent character as separator and with 2 strings as input - the number and an empty one.)

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .