Open warrickct opened 6 years ago
Create a box at the centre of the loaded model. While the box collides with the model, increase box size until it is so large it no longer collides with the model. Once the box stops growing, set it to the parent of the model object and scale it back down to 1 to get the right scale.
Update: TriggerStay/CollisionStay continue to trigger when box completely encloses covers the model. There might be a way to use the intercepted bounds of the mesh instead.
Models currently instantiate at the scale of the modelling software. Ideally, they load around the same size.