0

I'm come from Ogre and C++, and now I'm developing with Threejs.

In ogre, for debug, I often use method:

Ogre::SceneNode* n = ...
n->showBoundingBox(true);

Just for debug and test.

Is there a similar method in Threejs? I'm using Sprite object.

gman
  • 100,619
  • 31
  • 269
  • 393
Luca Davanzo
  • 21,000
  • 15
  • 120
  • 146

1 Answers1

0

In r67 (latest release) there is BoundingBoxHelper function that will show the world-axis-aligned bounding box for an object.

gaitat
  • 12,449
  • 4
  • 52
  • 76