![]() ![]() Object->SetMaterial(cache->GetResource("Materials/Stone.xml")) ĪnimationController* Animated = tileNode->CreateComponent() Īnimated->Play("Models/Train_MiddleWheelCDABigWhellIPO.ani", 0, true, 0.1f) Object->SetModel(cache->GetResource("Models/Train.mdl")) RigidBody* Body = tileNode->CreateComponent() ĬollisionShape* Shape = tileNode->CreateComponent() īody->SetGravityOverride(Vector3(0.0, 0.0, 0.0)) īody->SetAngularVelocity(Vector3(0.0, 0.0, 0.0)) Here’s the sample of code I’m using AnimatedModel* Object = tileNode->CreateComponent() ani files, the generated model works just fine, but sometimes none of the animations seems to do anything ![]() fbx with the default options, and using AssetImporter to create both the. I’m successfully exporting the blender model to. I’m a beginner with both Blender and the engine, and I’m having difficulties with some animated models.
0 Comments
Leave a Reply. |