baiqian
Community Member

Posts: 7
|
 |
« on: December 03, 2007, 03:26:03 AM » |
|
I just modify the Tutorial 10, replace the tank with tiny.x(which model using in VB samples), And I add declaration below
ITVActor2 pTinyActor;
and codes below //Now, load our model.i have copy tiny.x to media folder pTinyActor->Load("..\\..\\..\\Media\\tiny.x", "tiny",false,true); pTinyActor->SetAnimationID(0); pTinyActor->PlayAnimation(2000); pTinyActor->SetMaterial(0,-1); pTinyActor->SetRotation(-90, 130, 0); pTinyActor->SetScale (0.1, 0.1, 0.1);
When compiling,it prompt setscale parameter truncation from " const double" to "float", and when running, the system prompt" violent operation"
Anyone can help on this issue?
|