- Home /
Question by
pewpewz · Oct 28, 2016 at 09:10 PM ·
2dspriteboundslocalscale
Bounds.extent relation to localScale 2D
I am currently using the bounds.extent
vector for the radius of my 2D Sprite object. My problem is that when I change the size of the object I use the transform.localScale
and these two doesn't seem to add up. I need to use the bounds.extent
in my calculation of new spawning positions to place my objects so that they won't extend the ground area. So my question is how is the bounds.extent
vector related to transform.localScale
.
Comment
Your answer
Follow this Question
Related Questions
How do I get the bounds of a sprite on its sprite atlas? 0 Answers
My sprite is teleporting when I change my scale to -1 to flip it 1 Answer
How to get the bounds of an actual sprite, not it's bounding box. 1 Answer
Is it possible to turn off/suppress event calls in an animation at runtime? 2 Answers