New line in com.jme.scene.Text

Hi,



I need to print some information on the screen and I want a behavior similar to System.out.println()…

The problem is that I didn't figure out how to wrap the text printed using the Text class.



I tried


updateBuffer.append(Character.LINE_SEPARATOR);
infoText.print(updateBuffer);


but no luck...

Can you help me?

Thanks in advance.

There is currently no such way.  You would need to make a Text object for each line of text you want to display.

Thanks it works :slight_smile: