[SOLVED] How can I draw lines in PlayCanvas?

I need draw a thiny white line from one object in the air to the floor.

Here is a handy method https://developer.playcanvas.com/en/api/pc.Application.html#renderLine. You need to call this every frame for example in your update function.

1 Like

Thank you so much, is perfect!