-
It would be cool to have a collision offset property ( x,y,z ), to help with the positioning of the Box/Sphere/Capsule/Cylinder types ( for when the pivot of the source model can’t be adjusted ).
-
An “Auto Size” button to enable auto-sizing of the bounds to the selected model.
Quick Example.
Select the UFO model from the PlayJam scene.
Note how the visual selection bounds show the extents of the model - this is what I’m trying to achieve with the box bounds, and this setting would be a good default result for an “Auto Size” button.
If you manually try to set the bounds, you can get the x and z to match, but the Y will always be off - due to the pivot of the UFO being at the bottom of the model rather than at the center. Try enter 3.3, 1.2 and 3.3 for X,Y,Z in the Half Extents entry fields.
In order to fix this, having the collision offset property would allow me to adjust the bounding box to be correct. A value of 0,0.4, 0 would prob be close enough.
Hopefully this explains the need for a collision offset in (1)
If we had this, then having an “Auto Size” button (2) for the bounds should automatically size the bounds to be the same size as the visual selection bounds, and auto set the offset from the model pivot to have the bounds visually look correct.
In this particular case ( the UFO model ) we can’t get the artist to adjust the pivot as we don’t have acces to source data for the free model, so a quick alternative like this would help us to work around that.
A more complicated solution would be to create a hierarchy where the parent had a collision bounds, and hace UFO parented to this, but I always prefer the simpler approach.
Would this help anyone else?