Search found 52 matches
- Tue Feb 24, 2009 2:10 pm
- Forum: Project Announcements
- Topic: IrrPhysx 0.2 - Nvidia Physx 2.8.1 wrapper
- Replies: 425
- Views: 116416
hi,jp i have a question(problem?) i try example of cloth,i set device is d3d9, load texture can't show flag. look img 1. log say: Could not get lower surface level for mip map generation i change to default opengl, texture is good look img 2. why? my display card is 8600m img1: http://www.reqi.com/d...
- Tue Jan 06, 2009 3:44 pm
- Forum: Beginners Help
- Topic: i have a new question about xmlreaderutf16!
- Replies: 0
- Views: 282
i have a new question about xmlreaderutf16!
i will read a xml file,file encode is unicode 16le. i compile have error: 1>main.cpp 1>e:\code\project\xmltext\main.cpp(33) : error C2664: 'const irr::io::char16 *irr::io::IIrrXMLReader<char_type,super_class>::getAttributeValue(int) const' : cannot convert parameter 1 from 'const char [8]' to 'int' ...
- Tue Jan 06, 2009 4:42 am
- Forum: Beginners Help
- Topic: one question about position.
- Replies: 12
- Views: 973
maybe model design no position on world origin. i want know model and world origin length. someone can try my model. tell me how to know? my code: nodes[k] = smgr->addAnimatedMeshSceneNode(smgr->getMesh(modelfile.c_str())); // nodes[k]->setScale(StrToV3df(scale)); nodes[k]->setMaterialTexture(0, dri...
- Sun Jan 04, 2009 7:46 am
- Forum: Beginners Help
- Topic: one question about position.
- Replies: 12
- Views: 973
- Thu Jan 01, 2009 8:42 am
- Forum: Beginners Help
- Topic: Collision question
- Replies: 1
- Views: 364
Collision question
I load some meshs, one like a stick, other like ball.
i want take a stick to touch balls.
question:
how can i know which one ball is touch?
i have a collision.
but i don't know stick touch ball is.....
i want take a stick to touch balls.
question:
how can i know which one ball is touch?
Code: Select all
if (smgr->getSceneCollisionManager()->getCollisionPoint(line, meta, intersection, tri)
but i don't know stick touch ball is.....
- Wed Dec 31, 2008 3:55 pm
- Forum: Beginners Help
- Topic: one question about position.
- Replies: 12
- Views: 973
- Wed Dec 31, 2008 1:43 pm
- Forum: Beginners Help
- Topic: one question about position.
- Replies: 12
- Views: 973
one question about position.
getAbsolutePosition() and getPosition() return values difference.
thanks!
thanks!
- Mon Dec 29, 2008 9:01 am
- Forum: Beginners Help
- Topic: gui checkbox problem
- Replies: 4
- Views: 410
yes!Ion Dune wrote:Presuming that you know its a check box:
use IGUIElement::getType () to be certain.Code: Select all
((IGUICheckBox*)root->getElementFromId(postdb->CS32List[i], true)->)setChecked(...)
thanks you!
- Mon Dec 29, 2008 7:38 am
- Forum: Beginners Help
- Topic: gui checkbox problem
- Replies: 4
- Views: 410
- Mon Dec 29, 2008 6:09 am
- Forum: Beginners Help
- Topic: gui checkbox problem
- Replies: 4
- Views: 410
gui checkbox problem
i want reset a form, like web form's reset. code: void UIControl::ResetLoginForm(PostData* postdb) //Clear All EditBox & CheckBox values { IGUIElement* root = guienv->getRootGUIElement(); for (int i = 0; i < postdb->CS32Lenth; i++) if (root->getElementFromId(postdb->CS32List[i],true)->getType() ...
- Wed Dec 10, 2008 4:21 pm
- Forum: Beginners Help
- Topic: addButton problem.
- Replies: 6
- Views: 294
you should return false at the end of your event receiver if you haven't handled the event, that way it then gets passed onto things like cameras and the gui, otherwise they don't get it. So if you handle the event and don't want the rest of irrlicht to get it return true, otherwise return false. o...
- Wed Dec 10, 2008 3:20 pm
- Forum: Beginners Help
- Topic: addButton problem.
- Replies: 6
- Views: 294
- Wed Dec 10, 2008 1:32 pm
- Forum: Beginners Help
- Topic: addButton problem.
- Replies: 6
- Views: 294
- Wed Dec 10, 2008 12:40 pm
- Forum: Beginners Help
- Topic: addButton problem.
- Replies: 6
- Views: 294
addButton problem.
i use guienv->addButton() create a new button. i can see but can't click it. why? if (stringw("Button") == xml->getNodeName()) { x = xml->getAttributeValueAsInt(L"x"); y = xml->getAttributeValueAsInt(L"y"); w = xml->getAttributeValueAsInt(L"w"); h = xml->getAt...
- Wed Nov 26, 2008 2:06 pm
- Forum: Beginners Help
- Topic: how to rotation a line to another line?
- Replies: 2
- Views: 343