I created a topic sometime last week about modernizing an old third person camera code snippet which you might find helpful. Although its in C++ and not C# but you might be able to read it enough to make a port.
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=30035
Search found 10 matches
- Sat Aug 30, 2008 6:28 am
- Forum: Beginners Help
- Topic: third person camera + keyboard
- Replies: 7
- Views: 481
- Wed Aug 27, 2008 1:43 am
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
rogerborg, I tried compiling your example today and quickly discovered that it wasnt compiling. Apparently because vector3df does not have a function rotationToDirection() and I even checked the docs to confirm this. [maddog39@desktop ThirdPersonCamera]$ make g++ main.cpp -O3 -march=core2 -I/usr/inc...
- Mon Aug 25, 2008 10:04 pm
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
It appears to assume that ICameraSceneNode provides a full camera implementation. That's no longer correct (was it ever?). If you want to do that now, you'll either have to base your camera on CCameraSceneNode, or encapsulate one. Yes I was assuming when I tried to write my implementation that it w...
- Mon Aug 25, 2008 10:23 am
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
I'm still not quite clear on what your suggesting. I attempt this:
But that didnt solve the problem.
Code: Select all
void ThirdPersonCamera::setTarget(const vector3df &pos)
{
ICameraSceneNode::setTarget(pos);
}
- Mon Aug 25, 2008 10:01 am
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
- Mon Aug 25, 2008 2:47 am
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
So I suppose I should have to reimplement that function; and I didnt realize ICameraSceneNode was already doing multiple-inheritance with IEventReceiver, so it should be safe to just overload OnEvent. [Edit] I have no idea how I would ago about rewriting that function and frustrated by the fact that...
- Sun Aug 24, 2008 4:38 am
- Forum: Beginners Help
- Topic: Modified third person camera troubles
- Replies: 13
- Views: 1303
Modified third person camera troubles
Hey everyone, I recently wanted a third person camera and attempted an update version of keless' camera based on ICameraSceneNode and IEventReceiver. However for the life of me I cannot get this thing to link. I keep getting undefined reference to ICameraSceneNode::setTarget() errors. Any ideas? Sou...
- Sun Aug 24, 2008 4:33 am
- Forum: Beginners Help
- Topic: Long load times and model rendering problems
- Replies: 2
- Views: 150
- Sat Aug 23, 2008 5:09 am
- Forum: Project Announcements
- Topic: Realistic water scene node
- Replies: 255
- Views: 278636
- Sat Aug 23, 2008 2:44 am
- Forum: Beginners Help
- Topic: Long load times and model rendering problems
- Replies: 2
- Views: 150
Long load times and model rendering problems
Hey everyone, I've been playing around with irrlicht lately and keep running into this problem with loading models where the particular side in which the camera is looking at will disappear and the model then doesnt look whole and solid. Screenshot: http://www.dximages.uni.cc/files/1/screenshots/mad...