Once again Rogerborg, you're spot on. I pulled my math from the lind3d<T>::getMiddle() function, I don't know if the math there is wrong (or just works for that situation) but you may want to give it a glance if you ever have some free time.
It's a shame I can't send a beer through the internet, I ...
Search found 52 matches
- Thu Jan 22, 2009 7:31 pm
- Forum: Beginners Help
- Topic: [SOLVED] Camera Collision Issue
- Replies: 4
- Views: 713
- Thu Jan 22, 2009 9:42 am
- Forum: Beginners Help
- Topic: [SOLVED] Camera Collision Issue
- Replies: 4
- Views: 713
[SOLVED] Camera Collision Issue
I have an issue with my camera and I cannot figure it out. The following link has both the executable and extremely stripped down source code.
http://www.sagescholars4scholars.com/Game.rar
First run the executable. When it loads, zoom your camera out with your mouse scroller. Then, hold down ...
http://www.sagescholars4scholars.com/Game.rar
First run the executable. When it loads, zoom your camera out with your mouse scroller. Then, hold down ...
- Sun Jan 11, 2009 7:01 am
- Forum: Code Snippets
- Topic: LightningNode
- Replies: 20
- Views: 12536
Hello, I've been using your Scene Node in a project I'm working on and while it works quite nicely if I need a static lightning animation between two points, it does very little for instances in which I'm using it between moving targets. Something as simple as updateEndPoints(core::vector3df start ...
- Wed Jan 07, 2009 1:23 am
- Forum: Beginners Help
- Topic: Help with my AI path searching algorithm
- Replies: 6
- Views: 852
- Wed Jan 07, 2009 1:20 am
- Forum: Game Programming
- Topic: Keeping the previous load zone in sight
- Replies: 7
- Views: 2282
The short answer is yes.
However, there is a lot of ambiguity in what you are asking. A "loading zone" is something that you code and develop on your own, which is outside of what Irrlicht is conerned with. I believe that you want different "areas to load" in your game, but you still want to render ...
However, there is a lot of ambiguity in what you are asking. A "loading zone" is something that you code and develop on your own, which is outside of what Irrlicht is conerned with. I believe that you want different "areas to load" in your game, but you still want to render ...
- Tue Jan 06, 2009 9:44 pm
- Forum: Off-topic
- Topic: Mouse instantly moving to top-left of screen
- Replies: 2
- Views: 1219
- Tue Jan 06, 2009 9:41 pm
- Forum: Beginners Help
- Topic: Help with my AI path searching algorithm
- Replies: 6
- Views: 852
- Tue Jan 06, 2009 3:13 am
- Forum: Beginners Help
- Topic: Help with my AI path searching algorithm
- Replies: 6
- Views: 852
Help with my AI path searching algorithm
So here is the code for my function:
void NPC::searchPath(vector3df currentPos, s32 distance, int treeDepth, vector<line3d<f32>> pathPositions)
{
// We got to 0, so we're done searching in this part of our tree.
if (treeDepth == 0)
return;
// Else, recursion!
else
{
// For all angles (at ...
void NPC::searchPath(vector3df currentPos, s32 distance, int treeDepth, vector<line3d<f32>> pathPositions)
{
// We got to 0, so we're done searching in this part of our tree.
if (treeDepth == 0)
return;
// Else, recursion!
else
{
// For all angles (at ...
- Mon Jan 05, 2009 2:19 am
- Forum: Off-topic
- Topic: Mouse instantly moving to top-left of screen
- Replies: 2
- Views: 1219
Mouse instantly moving to top-left of screen
First off, this isn't related to Irrlicht at all, but I know there are many tech savvy people here. Thanks in advance for any tips you have to offer.
Computer Stats:
Windows XP SP2
AMD2 Dual-Core 3.0Ghz Processor
nVidia GeForce 8800GTS
MX518 Logitech Mouse
Directx v9.0c
I can't think of any ...
Computer Stats:
Windows XP SP2
AMD2 Dual-Core 3.0Ghz Processor
nVidia GeForce 8800GTS
MX518 Logitech Mouse
Directx v9.0c
I can't think of any ...
- Wed Dec 31, 2008 1:04 am
- Forum: Beginners Help
- Topic: How do you set the color in a tab?
- Replies: 2
- Views: 404
- Tue Dec 30, 2008 10:56 pm
- Forum: Beginners Help
- Topic: How do you set the color in a tab?
- Replies: 2
- Views: 404
How do you set the color in a tab?
I looked at the source in CGUITabControl.cpp and it looks like the color comes from the following line of code:
color = skin->getColor(EGDC_WINDOW_SYMBOL);
But when I do something like this...
IGUISkin* skin = GUIEnv->getSkin();
skin->setColor(EGDC_WINDOW_SYMBOL, MENU_COLOR_TEXT);
the color ...
color = skin->getColor(EGDC_WINDOW_SYMBOL);
But when I do something like this...
IGUISkin* skin = GUIEnv->getSkin();
skin->setColor(EGDC_WINDOW_SYMBOL, MENU_COLOR_TEXT);
the color ...
- Sat Dec 27, 2008 11:31 pm
- Forum: Beginners Help
- Topic: How to set the font in an IGUITab or IGUITabControl
- Replies: 3
- Views: 566
I understand all that, I was just curious if there was some obscure/more abstract way of setting the font that I could not find. Especially since merely setting the skin would apply it to any control without the ability to set an override font (an undesired effect).
Ideally the tab control would ...
Ideally the tab control would ...
- Sat Dec 27, 2008 8:53 pm
- Forum: Beginners Help
- Topic: How to set the font in an IGUITab or IGUITabControl
- Replies: 3
- Views: 566
How to set the font in an IGUITab or IGUITabControl
How is this done? I do not see a way to do so. Thanks.
- Fri Dec 26, 2008 5:35 am
- Forum: Beginners Help
- Topic: [Solved] scale an image drawed by draw2Dimage method
- Replies: 2
- Views: 509
- Fri Dec 26, 2008 4:30 am
- Forum: Beginners Help
- Topic: Advice on making tall grass
- Replies: 2
- Views: 666
Advice on making tall grass
http://i40.tinypic.com/fny22u.jpg
Hey everyone, I essentially want to know if there is a smart way of doing "tall grass" like they do in Call of Duty (picture above). They are essentially just cards and I want to know if there is a good way to do this in Irrlicht. I understand that we could just ...
Hey everyone, I essentially want to know if there is a smart way of doing "tall grass" like they do in Call of Duty (picture above). They are essentially just cards and I want to know if there is a good way to do this in Irrlicht. I understand that we could just ...