sorry.....I still do not get it....
Could you please give me some sample code?
If I click on the GUI element (not root), it will be focused.
That means EGET_ELEMENT_FOCUSED will be checked.
But....by clicking the GUI element, that means EMIE_LMOUSE_PRESSED_DOWN will also be checked.
How to ...
Search found 148 matches
- Thu Mar 31, 2011 9:26 am
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
- Wed Mar 30, 2011 4:48 am
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
- Tue Mar 29, 2011 2:53 pm
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
- Tue Mar 29, 2011 12:37 pm
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
- Tue Mar 29, 2011 12:35 pm
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
- Tue Mar 29, 2011 12:28 pm
- Forum: Beginners Help
- Topic: How to stop the scene while handling GUI events?
- Replies: 10
- Views: 1019
How to stop the scene while handling GUI events?
http://img.photobucket.com/albums/v252/wongsiwai/ScreenHunter_08Mar292022.jpg
My program has an operating mode called MODE_ROTATE to rotate objects. This operating mode is triggered when the user presses 'r' key.
Now, the problem is, as you can see in the above picture, the user would like to ...
My program has an operating mode called MODE_ROTATE to rotate objects. This operating mode is triggered when the user presses 'r' key.
Now, the problem is, as you can see in the above picture, the user would like to ...
- Mon Mar 07, 2011 9:51 am
- Forum: Beginners Help
- Topic: Button border question
- Replies: 5
- Views: 535
- Mon Mar 07, 2011 7:27 am
- Forum: Beginners Help
- Topic: Button border question
- Replies: 5
- Views: 535
Button border question
Can I add a border with a certain thickness around the button when it is clicked using Irrlicht?
- Sat Mar 05, 2011 7:41 pm
- Forum: Beginners Help
- Topic: How to build walls?
- Replies: 8
- Views: 872
- Sat Mar 05, 2011 10:21 am
- Forum: Beginners Help
- Topic: How to set the length, height and width of a cube?
- Replies: 4
- Views: 394
How to set the length, height and width of a cube?
Code: Select all
cubeNode = smgr->addCubeSceneNode();
Now, what I want to do is set the height to a certain value, say 100, then the cube should be of height 100 with its bottom y-value unchanged (i.e. still be 0)
How to solve that?
- Sat Mar 05, 2011 8:53 am
- Forum: Beginners Help
- Topic: How to build walls?
- Replies: 8
- Views: 872
- Sat Mar 05, 2011 7:21 am
- Forum: Beginners Help
- Topic: How to build walls?
- Replies: 8
- Views: 872
You can use ISceneCollisionManager ::getRayFromScreenCoordinates to create a ray which you can then collide against a plane to get a point in 3D. The plane basically sets the height at which you want that ray to collide so in your case it will probably have normal vector pointing upwards and a d ...
- Tue Mar 01, 2011 9:06 am
- Forum: Beginners Help
- Topic: How to build walls?
- Replies: 8
- Views: 872
- Tue Mar 01, 2011 8:56 am
- Forum: Beginners Help
- Topic: How to build walls?
- Replies: 8
- Views: 872
How to build walls?
I am wondering if Irrlicht engine can handle the case in which the user clicks the left-mouse button and drags and drops to create a rectangular selection.
For example,
http://img.photobucket.com/albums/v252/wongsiwai/ScreenHunter_01Mar011654.jpg
My question is how I can draw this rectangular ...
For example,
http://img.photobucket.com/albums/v252/wongsiwai/ScreenHunter_01Mar011654.jpg
My question is how I can draw this rectangular ...
- Mon Feb 28, 2011 11:28 am
- Forum: Beginners Help
- Topic: Free 3D models site
- Replies: 5
- Views: 858