I have question that when i press to shoot and it's equal to enemy, i want the enemy is change frameloop. and i try this //when shoot is equal to enemy void enemy::shootEn() { nodeEn1->setFrameLoop ( 50,1000 ); nodeEn1->setAnimationSpeed(60); } but when is equal, enemy is in loop 50 and didn't chang...
Did you set frame loop(10,1500) in tutorial#1 ?
I try it in tutorial#1.
if i don't set frame loop,it's normal.
but if i set frame loop, size is abnormal.
Did you like me?
I mean i want size of model is equal all of frame. if i didn't set frame loop,it's will equal all. But when i set frame loop,in last frame will larger than before frame although i didn't set any size of model. and it's happen all frame loop.
I did third person. I set direction of enemy is it's will walk follow the actor(player). and i use this code p = nodeEn->getPosition(); r = nodeEn->getRotation(); rot = ((atan(-(acZ-p.Z)/(acX-p.X)))*57.29)-75; // angle rotate r.Y = rot; nodeEn->setRotation(r); p.X += cos((r.Y) * 3.14 / 180); p.Z -= ...
I saw in doc of engine that "text is the text to be displayed. Can be altered after creation with SetText(). " and I do this text1 = irrDevice->getGUIEn(); text1->addStaticText(L"You must find a key to open this door. ",core::rect<s32>(110,10,300,20), true, true, 0, -1, true); if...
I want to show text when open the door(with out key), get a key, etc. I use addStaticText() to draw. but when i want to change text , i can't change it because i don't know function for change text. i would like to know that addStaticText() have function to change text? and have function to move thi...