I using Application.drawLine
Hi @Amkar,
If you are looking to draw outlines around objects check this example:
https://playcanvas.github.io/#/graphics/model-outline
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
https://developer.playcanvas.com/api/pc.AppBase.html#drawLine
1 Like
thanks
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