how to optimize SkeletonObject?
by DieRich · in Torque 2D Professional · 12/08/2014 (6:26 am) · 2 replies
hi all, I create 50 SkeletonObject object, and fps is less than 10, how to optimize SkeletonObject::updateComposition?
the hot spot may be clearSprites(); and SpriteBatch::createSprite();
any clue is thankful.
the hot spot may be clearSprites(); and SpriteBatch::createSprite();
any clue is thankful.
#2
That is a lot of bone animation/translation going on, depending on how complex your rigging is.
I actually turn off updateComposition if the skeleton is off camera, which is a huge performance boost.
01/22/2015 (5:43 am)
Are you trying to animate 50 spine objects on screen at the same time, or just have 50 in your scene?That is a lot of bone animation/translation going on, depending on how complex your rigging is.
I actually turn off updateComposition if the skeleton is off camera, which is a huge performance boost.
Employee Michael Perry
ZombieShortbus