Search found 9 matches
- Mon Feb 06, 2006 6:01 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
I managed to compile it just fine, my concern is that it might not be fast enough. Though that could be fixed by writting part of the code in C++ and add it to the wrappers. On the otherhand, irrlicht seems orientated towards a first or third person perspective, I think I'd need to mess around with ...
- Sun Feb 05, 2006 10:16 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
Yellow -- doh! You're right, it does work with the mouse. I tried using the keyboard for some reason to move the camera (out of habit, I guess). That's so neat. I also like how you used an .ini file to set the video options. :D I plan to use an xml config file. So, is this the beginning of the next...
- Sun Feb 05, 2006 11:23 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
- Sun Feb 05, 2006 1:29 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
Okay, as requested, here is a demo of the above flung together. I'm new to irrlicht, so dont expect to much.
You can download it HERE.
You can download it HERE.
- Fri Feb 03, 2006 6:16 pm
- Forum: Advanced Help
- Topic: dynamic textures
- Replies: 2
- Views: 470
- Fri Feb 03, 2006 5:49 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
something like this would do the trick...
Code: Select all
bool CGame::OnEvent(SEvent event)
{
if (event.EventType == EET_MOUSE_INPUT_EVENT && event.MouseInput.Event == EMIE_MOUSE_WHEEL)
{
pCamera->setFOV(pCamera->getFOV() + (event.MouseInput.Wheel/20));
}
}
- Wed Feb 01, 2006 6:09 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
Yellow -- How do you adjust the height??? I've tried to play around with the following values (cpos.Z and cpos.Y) but got no where fast: // make the camera look to a fixed point (45 degrees down) // in front of it, so it wont stay locked on the old target. vector3df cpos = pCamera->getPosition(); c...
- Tue Jan 31, 2006 8:55 am
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
- Sun Jan 29, 2006 1:36 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: RTS style camera
- Replies: 20
- Views: 8808
RTS style camera
I had some trouble finding out how to get a RTS type camera to work in irrlicht (Birds perspective), so I thought this might be a usefull bit of code to share with others who are having the same trouble. This cam will move above the scene when you get close to the screen borders. call this function ...