SO3Engine
|
SO3Skeleton.cpp
Go to the documentation of this file.
93 GetAnimByName(scene, &anim, node, entity->getOgreEntityPointer()->getName()+"."+oanim->getName());
96 anim = new SAnim(oanim->getName(), SAnim::SO3_VERTEX_ANIM); // TODO JEFF: bizarre, j'aurais mis SO3_SKELETON_ANIM ici.
107 Ogre::Animation::VertexTrackIterator it = anim->getOgreAnimationPointer()->getVertexTrackIterator();
122 ogreLinkedEntity->setUpdateBoundingBoxFromSkeleton((O3SkeletonInstance->getNumBones() > 1) ? true : false);
123 ogreLinkedEntity->getMesh()->_setBoneBoundingRadius(std::max(ogreLinkedEntity->getMesh()->getBoneBoundingRadius(), 0.1f));
Definition SO3Anim.h:42
Definition SO3Bone.h:42
Definition SO3Entity.h:43
Definition SO3NodeScol.h:43
Definition SO3Scene.h:125
SBone * CreateBone(const std::string &newBoneName, SSkeleton *skeleton, const unsigned short &id)
Definition SO3Scene.cpp:946
Ogre::SkeletonInstance * GetOgreSkeletonPointer()
Definition SO3Skeleton.cpp:252
virtual void SetGlobalPosition(const Ogre::Vector3 &pos, bool updateBody=true)
Definition SO3Skeleton.cpp:282
virtual Ogre::Quaternion GetGlobalOrientation()
Definition SO3Skeleton.cpp:272
virtual void SetGlobalOrientation(const Ogre::Quaternion &quat, bool updateBody=true)
Definition SO3Skeleton.cpp:287
void SetBlendMode(const SkeletonAnimationMode &newBlendMode)
Definition SO3Skeleton.cpp:160
void _OnBoneDeletion(SBone *boneInstance)
Definition SO3Skeleton.cpp:214
virtual Ogre::Vector3 GetGlobalPosition()
Definition SO3Skeleton.cpp:267
Definition SO3DataScol.h:38
Generated by 1.9.8