Page 1 of 1

Labels on a pie chart

Posted: 16 Mar 2015, 12:21
by Carlos
Hi there!
I'm trying really hard to put some labels on a pie chart, but I can't find the way to make it so that the label is always facing the camera and it follows the sector.
I don't know if I'm explaining myself, so maybe the attached picture will explain it better.
I've tried to use the billboard node, but when I make it so that the text is always facing the camera, it doesn't follow the rotation on Z of the chart.
Any help will be appreciated, THANK YOU! :)

Re: Labels on a pie chart

Posted: 16 Mar 2015, 16:23
by Christian Krix Schmidt
Hi Carlos!

Attached is a scene with an example on how to do that. The example chart has three slices. And the text is always in the middle of each slice. Hope that helps.

Cheers
Chris

Re: Labels on a pie chart

Posted: 20 Mar 2015, 17:30
by Carlos
I don't know what have you done there, but it's working :)
Thank you so much, I'll look into it to understand it.