Draw a line (2D/3D) in android

Hi All,

I am very new to JME. I am developing an android game using JME3 engine.

I need to draw a line, given two points. I got some code from stackoverflow website

But this code is not working in android. Please help me.


1 Like

Thanks bud, @pspeed. I am able to draw a line now. Do you have any idea on drawing a polyline (multiline)?

I am able to draw polyline too. Thanks for the help, @pspeed