Monday, September 1, 2014

Man I feel dumb - Unity animations and scaling.

Don't, just don't change the scaling of an object inside Unity. Even if your object has 50 polygons.
It'll f@(k your fps. Pardon the language but it'll just ruin your day if you are doing for mobile. Just take the extra time to make your scaling animation in your 3D package of choice and save the animation as blendshapes or whatever it's called in there.
I just wanted to squish 2 bellows. But nooooo. I have to do the whole blendshapes thing. Can't just change the z value.
Sorry, I know it messes up with batching, but I just didnt' expect to lose close to 25fps.
(And I blamed my rigidbodies. Sorry bodies....)

No comments:

Post a Comment