mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 15:25:40 +00:00
animation update
updated how animations are handled from assimp gltf timing now correct
This commit is contained in:
parent
5f1c2a63e5
commit
28fcb8d68b
6 changed files with 161 additions and 160 deletions
|
|
@ -27,11 +27,14 @@ class AssimpAppSequence : public AppSequence
|
|||
F32 seqEnd;
|
||||
F32 mTimeMultiplier; // The factor needed to convert the sequence data timestamp to seconds
|
||||
|
||||
void determineTimeMultiplier(aiAnimation* a);
|
||||
void calculateSequenceEnd(aiAnimation* a);
|
||||
|
||||
public:
|
||||
|
||||
AssimpAppSequence(aiAnimation *a);
|
||||
~AssimpAppSequence();
|
||||
|
||||
|
||||
aiAnimation *mAnim;
|
||||
|
||||
void setActive(bool active) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue