BoundingBox

Started by Mr. K, April 20, 2016, 10:52:19 AM

Previous topic - Next topic

Mr. K

Hi guys i got another question, how can i show the bounding Box of an object, i use the method getBoundingBow() for get the coordinates, there are a method for show it? or i must draw the lines, if i must draw, how can i draw a line?

thnx

EgonOlsen

You could use the Polyline class for this and set the object in question as the parent ( http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Polyline.html#setParent(com.threed.jpct.Object3D) ).