Jump to content

How to adjust animation frames per second


Slastraf
 Share

Recommended Posts

In unity you have the ability to select how detailed the animation gets rendered in frames per second.

how would this be possible to determine in the crawler prefab ( MonsterAI script )?

I want to get more fps in the game when there are very much crawlers in the scene.

Link to comment
Share on other sites

Think interpolation, As you get farther from an entity or have a certain amount of entities on screen you reduce the amount of animation steps you actually Process.

 

 

Look at the Creatures in the background. The animation is in sync but the number of animation frames processed is reduced.

Link to comment
Share on other sites

Think interpolation, As you get farther from an entity or have a certain amount of entities on screen you reduce the amount of animation steps you actually Process.

 

 

Look at the Creatures in the background. The animation is in sync but the number of animation frames processed is reduced.

yes thats what I am talking about, but I want to reduce the frames for every crawler in the scene

Link to comment
Share on other sites

You could skip the animation update every other frame, but you will get jittery motion. And you don't even know that animation is your bottleneck, so it might not make any speed improvement at all.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...