Like this pic above shows, there is a box-like( yellow color) collision on the red box entity. How can I get the box-like collision’s model, shown as the yellow box, via script?
I tried it like,
But always got a null returned…
I think the yellow collision box is just a gizmo, like the scale gizmo in the picture, you can not get it.
But you can access its properties, like
For more information, see the api docs:
What are you trying to do with with the collision volume?
There isn’t a renderable model for the physics volumes at runtime. They are just rendered in the editor for visualisation reasons.