Change the Bounding Box in SceneKit

Viewed 4087

How can I change the size of the Bounding Box in SceneKit. I have a DAE file with one object and the bounding box is very large as shown below. This is in meters for ARKit app. How can I make it smaller.

enter image description here

4 Answers

As followed orangenkopf answer's we can change its scale property in inspector itself,

enter image description here

Thanks.

I would avoid scaling SCNNodes because it can complicate matters when applying different transforms. Scaling should be used when you actually need to have the model in multiple different sizes in the scene.

Instead, scale the model down to the desired size in a 3D software package that supports DAE (e.g. Blender).

You can also see the actual bounding box size of your scaled model by placing it inside of another empty node. The parent node will show you the size after the child node has been scaled.

Related