Bones - Skeletal and Pose Animations for jPCT/jPCT-AE > Bones

What is the best way to create multiple AnimatedGroup from the same model

(1/1)

androidman:
Hi raft,

In my android game, i create multi AnimatedGroup from the same model and let all of them  animate continuously  at the same time. The problem is your slerp() function create so many Quaternion object in runtime, thus my game is slow down. Can you tell me how to reduce the number of Quaternion object or whatever to speed up my game?

I create AnimatedGroups at the same way with your bones example.

thank you so much.

raft:
hi,

AnimatedGroup.clone(false) is the best way to create many groups that are animated separately. This way, they share all animation data to reduce memory. with false argument they dont share mesh so they can be animated separately.

I'm at holiday and out of city now, I will look at slerp() next week.

raft:
done. Quaternion.slerp(..) does not create a new Quaternion anymore. please re-download bones.zip

androidman:
Thank you so much!

Bones works very well. There is no Quaternion object in runtime! :o
This Bone's version  has many different thing against the old version (ver 2), so can you tell me what features are added or upgraded?

raft:
no major changes. mostly bug fixes and small improvements. see history

Navigation

[0] Message Index

Go to full version