x


Changing the animation's "sample rate" property has no effect?

Hi there

I'm trying to change the sample rate of my unity animations (made using the unity animation system, with the curve editor) from 60 fps to 30 fps by changing the "sample rate" property in the inspector when I click on my animation asset. It simply does nothing. Is there anything I'm doing wrong or is this a bug?

Thank you

more ▼

asked May 16 '11 at 07:56 PM

Evil-Dog gravatar image

Evil-Dog
372 13 18 26

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

The sample rate is just the rate at with the animation was created and can't be changed. Anyway, animations in Unity are even time based. To change the playback speed just set the speed property of your animation state.

more ▼

answered May 16 '11 at 08:05 PM

Bunny83 gravatar image

Bunny83
46.9k 12 50 210

That's a perfect answer, that did the trick, thanks! it's just misleading to let people modify that sample rate property if it can't be changed.

May 16 '11 at 09:16 PM Evil-Dog

Although it's true you can't change the sample you could reduce the number of objects parented to an animation. That lowers the stat for me in the profiler causing huge savings.

May 18 at 11:45 PM Diet Chugg
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3936
x35
x15

asked: May 16 '11 at 07:56 PM

Seen: 3041 times

Last Updated: May 18 at 11:45 PM