How to draw line over all objects?

I using Application.drawLine

Hi @Amkar,

If you are looking to draw outlines around objects check this example:

You can also study this PlayCanvas project how it generates debug lines around objects:

I mean line visible through all objects

specify the depthTest parameter to false when calling this function

1 Like


How to rotate line on z axis in 3d space ?..

You will have to calculate a new start/end point to change the line rotation, using vector math.

It harder than i thought