Quaternion rotation = new Quaternion((float)globalTransform.GetQ().X, (float)globalTransform.GetQ().Y, (float)globalTransform.GetQ().Z, (float)globalTransform.GetQ().W) Vector3 translation = new Vector3((float)globalTransform.GetT().X, (float)globalTransform.GetT().Y, (float)globalTransform.GetT().Z) Private void PrintCoordinates(FbxNode node) Scene = FbxScene.Create(manager, "Scene") If (importer.Initialize(fbxPath, -1, manager.GetIOSettings())) Public class DisplayingAnimation : MonoBehaviourįbxManager manager = FbxManager.Create() įbxIOSettings ioSettings = FbxIOSettings.Create(manager, Globals.IOSROOT) įbxImporter importer = FbxImporter.Create(manager, "Importer") How can I get position, rotation and scale of the fbx at any point of time in its animation? using Autodesk.Fbx I use this script for printing position, rotation and scale of every node of fbx. How to get animation of fbx file in unity during runtime? As we know, fbx file can conatin animation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |