Hi!
Imagine you had a zoo themed game or something like that where you had to animate houndreds of animals.
What would you use?
BodyPositions, Tweens, Animations, Lerping CFrames or Vectors?
Thank you
Edit: What do you think would be the best performance-wise?
As always, do whatever is easiest first. Then check if you need to improve performance.
So I would probably use animations for the animations and humanoids or something for the walking. If that’s too much, tweening cframes directly is probably more performant.
Edit: after below discussion with @Fusionet, I agree that you probably won’t get much better performance than animations+humanoids.
Tweening a lot of things at once is very bad especially on the server. The best way is to animate them. To animate animals, first rig up the animal with a humanoid, humanoid root part, etc. There is a plug in for this. Then just make an animation like you normally would.
It’s common knowledge that you shouldn’t do many tweens on the server, and all visual effects should be done on the client. Especially when you have thousands of tweens.
Check this out Tweening on Client or Server?