How to get raw bounds size of a Box collider?
col.bounds.size.z for example changes when I rotate the Object collider is attached to. How can I get the raw one, that I see in the inspector?
Comment
Best Answer
Answer by trsh · Apr 11, 2020 at 10:53 AM
Turns out box clider has it direct variable "size" > https://docs.unity3d.com/ScriptReference/BoxCollider-size.html
Your answer
Follow this Question
Related Questions
Wheel rotation 1 Answer
ClosestPointOnBounds from within collider 0 Answers
What is the math behind Collider.ClosestPointOnBounds? 1 Answer
Rotating Gameobject not Colliding 1 Answer
Collider bounds encapsulate doesn't seem to do anything 2 Answers